Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-11 23:59:03.346763 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 = 20251212 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.16892099380493 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-11 23:59:32.409689 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 = 20251212 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.115633964538574 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-12 00:00:02.924667 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 = 20251212 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.319879293441772 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-12 00:00:32.487164 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/00/image_12122025_00_00_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:01:02.964048 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/00/image_12122025_00_00_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:01:32.669380 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/01/image_12122025_00_01_35_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/00/00/image_12122025_00_00_24_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/00/00/image_12122025_00_00_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:02:03.017885 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/01/image_12122025_00_01_35_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/00/00/image_12122025_00_00_24_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/00/00/image_12122025_00_00_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:02:32.722131 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/02/image_12122025_00_02_34_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/00/02/image_12122025_00_02_25_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/00/01/image_12122025_00_01_44_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/00/01/image_12122025_00_01_35_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/00/00/image_12122025_00_00_24_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/00/00/image_12122025_00_00_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:03:02.381166 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/02/image_12122025_00_02_34_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/00/02/image_12122025_00_02_25_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/00/01/image_12122025_00_01_44_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/00/01/image_12122025_00_01_35_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/00/00/image_12122025_00_00_24_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/00/00/image_12122025_00_00_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:03:31.832524 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/03/image_12122025_00_03_44_9591.jpg', 2), ('/home/nano/Desktop/images/12122025/00/03/image_12122025_00_03_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/00/03/image_12122025_00_03_24_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/00/02/image_12122025_00_02_45_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/00/02/image_12122025_00_02_34_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/00/02/image_12122025_00_02_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:04:02.461531 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/03/image_12122025_00_03_44_9591.jpg', 2), ('/home/nano/Desktop/images/12122025/00/03/image_12122025_00_03_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/00/03/image_12122025_00_03_24_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/00/02/image_12122025_00_02_45_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/00/02/image_12122025_00_02_34_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/00/02/image_12122025_00_02_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:04:31.957851 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/04/image_12122025_00_04_25_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/00/03/image_12122025_00_04_05_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/00/03/image_12122025_00_03_55_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/00/03/image_12122025_00_03_44_9591.jpg', 2), ('/home/nano/Desktop/images/12122025/00/03/image_12122025_00_03_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/00/03/image_12122025_00_03_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:05:02.486594 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/04/image_12122025_00_04_25_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/00/03/image_12122025_00_04_05_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/00/03/image_12122025_00_03_55_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/00/03/image_12122025_00_03_44_9591.jpg', 2), ('/home/nano/Desktop/images/12122025/00/03/image_12122025_00_03_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/00/03/image_12122025_00_03_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:05:32.037562 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/05/image_12122025_00_05_15_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/00/04/image_12122025_00_04_55_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/00/04/image_12122025_00_04_25_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/00/03/image_12122025_00_04_05_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/00/03/image_12122025_00_03_55_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/00/03/image_12122025_00_03_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:06:02.501723 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/05/image_12122025_00_05_15_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/00/04/image_12122025_00_04_55_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/00/04/image_12122025_00_04_25_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/00/03/image_12122025_00_04_05_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/00/03/image_12122025_00_03_55_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/00/03/image_12122025_00_03_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:06:32.180655 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/06/image_12122025_00_06_35_9590.jpg', 2), ('/home/nano/Desktop/images/12122025/00/06/image_12122025_00_06_25_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/00/06/image_12122025_00_06_14_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/00/05/image_12122025_00_06_05_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/00/05/image_12122025_00_05_54_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/00/05/image_12122025_00_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:07:02.680829 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/06/image_12122025_00_06_35_9590.jpg', 2), ('/home/nano/Desktop/images/12122025/00/06/image_12122025_00_06_25_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/00/06/image_12122025_00_06_14_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/00/05/image_12122025_00_06_05_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/00/05/image_12122025_00_05_54_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/00/05/image_12122025_00_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:07:32.263229 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/07/image_12122025_00_07_25_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/00/06/image_12122025_00_06_44_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/00/06/image_12122025_00_06_35_9590.jpg', 2), ('/home/nano/Desktop/images/12122025/00/06/image_12122025_00_06_25_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/00/06/image_12122025_00_06_14_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/00/05/image_12122025_00_06_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:08:02.738143 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/07/image_12122025_00_07_25_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/00/06/image_12122025_00_06_44_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/00/06/image_12122025_00_06_35_9590.jpg', 2), ('/home/nano/Desktop/images/12122025/00/06/image_12122025_00_06_25_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/00/06/image_12122025_00_06_14_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/00/05/image_12122025_00_06_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:08:32.400334 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/08/image_12122025_00_08_35_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/00/08/image_12122025_00_08_15_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/00/07/image_12122025_00_08_05_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/00/07/image_12122025_00_07_34_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/00/07/image_12122025_00_07_25_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/00/06/image_12122025_00_06_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:09:03.259511 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/08/image_12122025_00_08_35_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/00/08/image_12122025_00_08_15_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/00/07/image_12122025_00_08_05_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/00/07/image_12122025_00_07_34_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/00/07/image_12122025_00_07_25_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/00/06/image_12122025_00_06_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:09:32.522242 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/09/image_12122025_00_09_45_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/00/08/image_12122025_00_08_55_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/00/08/image_12122025_00_08_35_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/00/08/image_12122025_00_08_15_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/00/07/image_12122025_00_08_05_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/00/07/image_12122025_00_07_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:10:02.969751 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/09/image_12122025_00_09_45_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/00/08/image_12122025_00_08_55_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/00/08/image_12122025_00_08_35_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/00/08/image_12122025_00_08_15_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/00/07/image_12122025_00_08_05_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/00/07/image_12122025_00_07_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:10:32.631694 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/10/image_12122025_00_10_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/00/09/image_12122025_00_09_54_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/00/09/image_12122025_00_09_45_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/00/08/image_12122025_00_08_55_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/00/08/image_12122025_00_08_35_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/00/08/image_12122025_00_08_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:11:03.289535 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/10/image_12122025_00_10_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/00/09/image_12122025_00_09_54_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/00/09/image_12122025_00_09_45_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/00/08/image_12122025_00_08_55_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/00/08/image_12122025_00_08_35_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/00/08/image_12122025_00_08_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:11:32.733497 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/10/image_12122025_00_10_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/00/09/image_12122025_00_09_54_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/00/09/image_12122025_00_09_45_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/00/08/image_12122025_00_08_55_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/00/08/image_12122025_00_08_35_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/00/08/image_12122025_00_08_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:12:02.071670 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/10/image_12122025_00_10_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/00/09/image_12122025_00_09_54_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/00/09/image_12122025_00_09_45_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/00/08/image_12122025_00_08_55_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/00/08/image_12122025_00_08_35_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/00/08/image_12122025_00_08_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:12:31.842995 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/10/image_12122025_00_10_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/00/09/image_12122025_00_09_54_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/00/09/image_12122025_00_09_45_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/00/08/image_12122025_00_08_55_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/00/08/image_12122025_00_08_35_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/00/08/image_12122025_00_08_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:13:02.414774 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/10/image_12122025_00_10_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/00/09/image_12122025_00_09_54_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/00/09/image_12122025_00_09_45_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/00/08/image_12122025_00_08_55_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/00/08/image_12122025_00_08_35_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/00/08/image_12122025_00_08_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:13:31.914830 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/10/image_12122025_00_10_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/00/09/image_12122025_00_09_54_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/00/09/image_12122025_00_09_45_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/00/08/image_12122025_00_08_55_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/00/08/image_12122025_00_08_35_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/00/08/image_12122025_00_08_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:14:02.585456 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/10/image_12122025_00_10_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/00/09/image_12122025_00_09_54_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/00/09/image_12122025_00_09_45_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/00/08/image_12122025_00_08_55_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/00/08/image_12122025_00_08_35_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/00/08/image_12122025_00_08_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:14:32.017754 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/13/image_12122025_00_14_04_9590.jpg', 2), ('/home/nano/Desktop/images/12122025/00/10/image_12122025_00_10_55_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/00/10/image_12122025_00_10_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/00/09/image_12122025_00_09_54_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/00/09/image_12122025_00_09_45_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/00/08/image_12122025_00_08_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:15:02.420963 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/13/image_12122025_00_14_04_9590.jpg', 2), ('/home/nano/Desktop/images/12122025/00/10/image_12122025_00_10_55_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/00/10/image_12122025_00_10_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/00/09/image_12122025_00_09_54_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/00/09/image_12122025_00_09_45_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/00/08/image_12122025_00_08_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:15:32.115449 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/13/image_12122025_00_14_04_9590.jpg', 2), ('/home/nano/Desktop/images/12122025/00/10/image_12122025_00_10_55_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/00/10/image_12122025_00_10_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/00/09/image_12122025_00_09_54_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/00/09/image_12122025_00_09_45_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/00/08/image_12122025_00_08_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:16:02.508030 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/13/image_12122025_00_14_04_9590.jpg', 2), ('/home/nano/Desktop/images/12122025/00/10/image_12122025_00_10_55_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/00/10/image_12122025_00_10_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/00/09/image_12122025_00_09_54_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/00/09/image_12122025_00_09_45_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/00/08/image_12122025_00_08_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:16:32.236203 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/13/image_12122025_00_14_04_9590.jpg', 2), ('/home/nano/Desktop/images/12122025/00/10/image_12122025_00_10_55_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/00/10/image_12122025_00_10_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/00/09/image_12122025_00_09_54_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/00/09/image_12122025_00_09_45_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/00/08/image_12122025_00_08_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:17:02.786138 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/13/image_12122025_00_14_04_9590.jpg', 2), ('/home/nano/Desktop/images/12122025/00/10/image_12122025_00_10_55_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/00/10/image_12122025_00_10_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/00/09/image_12122025_00_09_54_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/00/09/image_12122025_00_09_45_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/00/08/image_12122025_00_08_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:17:32.397572 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/14/image_12122025_00_14_25_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/00/13/image_12122025_00_14_04_9590.jpg', 2), ('/home/nano/Desktop/images/12122025/00/10/image_12122025_00_10_55_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/00/10/image_12122025_00_10_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/00/09/image_12122025_00_09_54_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/00/09/image_12122025_00_09_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:18:02.798225 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/14/image_12122025_00_14_25_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/00/13/image_12122025_00_14_04_9590.jpg', 2), ('/home/nano/Desktop/images/12122025/00/10/image_12122025_00_10_55_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/00/10/image_12122025_00_10_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/00/09/image_12122025_00_09_54_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/00/09/image_12122025_00_09_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:18:32.394153 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/17/image_12122025_00_17_55_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/00/14/image_12122025_00_14_25_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/00/13/image_12122025_00_14_04_9590.jpg', 2), ('/home/nano/Desktop/images/12122025/00/10/image_12122025_00_10_55_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/00/10/image_12122025_00_10_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/00/09/image_12122025_00_09_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:19:03.460689 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/17/image_12122025_00_17_55_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/00/14/image_12122025_00_14_25_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/00/13/image_12122025_00_14_04_9590.jpg', 2), ('/home/nano/Desktop/images/12122025/00/10/image_12122025_00_10_55_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/00/10/image_12122025_00_10_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/00/09/image_12122025_00_09_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:19:32.527370 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/19/image_12122025_00_19_45_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/00/19/image_12122025_00_19_35_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/00/19/image_12122025_00_19_15_10607.jpg', 2), ('/home/nano/Desktop/images/12122025/00/18/image_12122025_00_19_04_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/00/18/image_12122025_00_18_14_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/00/17/image_12122025_00_17_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:20:03.037750 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/19/image_12122025_00_19_45_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/00/19/image_12122025_00_19_35_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/00/19/image_12122025_00_19_15_10607.jpg', 2), ('/home/nano/Desktop/images/12122025/00/18/image_12122025_00_19_04_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/00/18/image_12122025_00_18_14_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/00/17/image_12122025_00_17_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:20:32.638180 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/20/image_12122025_00_20_25_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/00/19/image_12122025_00_20_05_10607.jpg', 2), ('/home/nano/Desktop/images/12122025/00/19/image_12122025_00_19_54_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/00/19/image_12122025_00_19_45_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/00/19/image_12122025_00_19_35_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/00/19/image_12122025_00_19_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:21:03.186679 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/20/image_12122025_00_20_25_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/00/19/image_12122025_00_20_05_10607.jpg', 2), ('/home/nano/Desktop/images/12122025/00/19/image_12122025_00_19_54_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/00/19/image_12122025_00_19_45_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/00/19/image_12122025_00_19_35_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/00/19/image_12122025_00_19_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:21:32.710144 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/21/image_12122025_00_21_34_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/00/21/image_12122025_00_21_25_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/00/21/image_12122025_00_21_15_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/00/20/image_12122025_00_21_04_9614.jpg', 2), ('/home/nano/Desktop/images/12122025/00/20/image_12122025_00_20_35_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/00/20/image_12122025_00_20_25_10596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:22:02.165629 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/21/image_12122025_00_21_34_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/00/21/image_12122025_00_21_25_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/00/21/image_12122025_00_21_15_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/00/20/image_12122025_00_21_04_9614.jpg', 2), ('/home/nano/Desktop/images/12122025/00/20/image_12122025_00_20_35_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/00/20/image_12122025_00_20_25_10596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:22:31.792849 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/22/image_12122025_00_22_15_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/00/21/image_12122025_00_21_45_10592.jpg', 2), ('/home/nano/Desktop/images/12122025/00/21/image_12122025_00_21_34_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/00/21/image_12122025_00_21_25_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/00/21/image_12122025_00_21_15_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/00/20/image_12122025_00_21_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:23:02.376232 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/22/image_12122025_00_22_15_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/00/21/image_12122025_00_21_45_10592.jpg', 2), ('/home/nano/Desktop/images/12122025/00/21/image_12122025_00_21_34_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/00/21/image_12122025_00_21_25_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/00/21/image_12122025_00_21_15_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/00/20/image_12122025_00_21_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:23:31.930260 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/23/image_12122025_00_23_34_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/00/22/image_12122025_00_22_55_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/00/22/image_12122025_00_22_15_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/00/21/image_12122025_00_21_45_10592.jpg', 2), ('/home/nano/Desktop/images/12122025/00/21/image_12122025_00_21_34_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/00/21/image_12122025_00_21_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:24:02.701730 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/23/image_12122025_00_23_34_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/00/22/image_12122025_00_22_55_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/00/22/image_12122025_00_22_15_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/00/21/image_12122025_00_21_45_10592.jpg', 2), ('/home/nano/Desktop/images/12122025/00/21/image_12122025_00_21_34_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/00/21/image_12122025_00_21_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:24:32.007158 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/23/image_12122025_00_23_34_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/00/22/image_12122025_00_22_55_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/00/22/image_12122025_00_22_15_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/00/21/image_12122025_00_21_45_10592.jpg', 2), ('/home/nano/Desktop/images/12122025/00/21/image_12122025_00_21_34_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/00/21/image_12122025_00_21_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:25:02.404272 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/23/image_12122025_00_23_34_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/00/22/image_12122025_00_22_55_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/00/22/image_12122025_00_22_15_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/00/21/image_12122025_00_21_45_10592.jpg', 2), ('/home/nano/Desktop/images/12122025/00/21/image_12122025_00_21_34_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/00/21/image_12122025_00_21_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:25:32.129217 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/25/image_12122025_00_25_25_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/00/23/image_12122025_00_23_45_10599.jpg', 2), ('/home/nano/Desktop/images/12122025/00/23/image_12122025_00_23_34_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/00/22/image_12122025_00_22_55_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/00/22/image_12122025_00_22_15_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/00/21/image_12122025_00_21_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:26:02.585510 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/25/image_12122025_00_25_25_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/00/23/image_12122025_00_23_45_10599.jpg', 2), ('/home/nano/Desktop/images/12122025/00/23/image_12122025_00_23_34_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/00/22/image_12122025_00_22_55_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/00/22/image_12122025_00_22_15_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/00/21/image_12122025_00_21_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:26:32.215964 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/26/image_12122025_00_26_15_10626.jpg', 2), ('/home/nano/Desktop/images/12122025/00/25/image_12122025_00_25_35_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/00/25/image_12122025_00_25_25_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/00/23/image_12122025_00_23_45_10599.jpg', 2), ('/home/nano/Desktop/images/12122025/00/23/image_12122025_00_23_34_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/00/22/image_12122025_00_22_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:27:02.806801 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/26/image_12122025_00_26_15_10626.jpg', 2), ('/home/nano/Desktop/images/12122025/00/25/image_12122025_00_25_35_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/00/25/image_12122025_00_25_25_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/00/23/image_12122025_00_23_45_10599.jpg', 2), ('/home/nano/Desktop/images/12122025/00/23/image_12122025_00_23_34_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/00/22/image_12122025_00_22_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:27:32.309364 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/27/image_12122025_00_27_44_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/00/26/image_12122025_00_26_25_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/00/26/image_12122025_00_26_15_10626.jpg', 2), ('/home/nano/Desktop/images/12122025/00/25/image_12122025_00_25_35_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/00/25/image_12122025_00_25_25_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/00/23/image_12122025_00_23_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:28:02.740619 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/27/image_12122025_00_27_44_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/00/26/image_12122025_00_26_25_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/00/26/image_12122025_00_26_15_10626.jpg', 2), ('/home/nano/Desktop/images/12122025/00/25/image_12122025_00_25_35_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/00/25/image_12122025_00_25_25_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/00/23/image_12122025_00_23_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:28:32.390458 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/28/image_12122025_00_28_34_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/00/27/image_12122025_00_27_55_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/00/27/image_12122025_00_27_44_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/00/26/image_12122025_00_26_25_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/00/26/image_12122025_00_26_15_10626.jpg', 2), ('/home/nano/Desktop/images/12122025/00/25/image_12122025_00_25_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:29:03.399717 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/28/image_12122025_00_28_34_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/00/27/image_12122025_00_27_55_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/00/27/image_12122025_00_27_44_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/00/26/image_12122025_00_26_25_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/00/26/image_12122025_00_26_15_10626.jpg', 2), ('/home/nano/Desktop/images/12122025/00/25/image_12122025_00_25_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:29:32.497989 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/29/image_12122025_00_29_15_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/00/28/image_12122025_00_28_45_10599.jpg', 2), ('/home/nano/Desktop/images/12122025/00/28/image_12122025_00_28_34_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/00/27/image_12122025_00_27_55_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/00/27/image_12122025_00_27_44_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/00/26/image_12122025_00_26_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:30:02.945144 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/29/image_12122025_00_29_15_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/00/28/image_12122025_00_28_45_10599.jpg', 2), ('/home/nano/Desktop/images/12122025/00/28/image_12122025_00_28_34_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/00/27/image_12122025_00_27_55_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/00/27/image_12122025_00_27_44_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/00/26/image_12122025_00_26_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:30:32.576664 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/30/image_12122025_00_30_14_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/00/29/image_12122025_00_29_15_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/00/28/image_12122025_00_28_45_10599.jpg', 2), ('/home/nano/Desktop/images/12122025/00/28/image_12122025_00_28_34_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/00/27/image_12122025_00_27_55_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/00/27/image_12122025_00_27_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:31:03.078889 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/30/image_12122025_00_30_14_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/00/29/image_12122025_00_29_15_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/00/28/image_12122025_00_28_45_10599.jpg', 2), ('/home/nano/Desktop/images/12122025/00/28/image_12122025_00_28_34_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/00/27/image_12122025_00_27_55_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/00/27/image_12122025_00_27_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:31:32.679079 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/31/image_12122025_00_31_15_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/00/30/image_12122025_00_31_04_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/00/30/image_12122025_00_30_14_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/00/29/image_12122025_00_29_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/00/29/image_12122025_00_29_15_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/00/28/image_12122025_00_28_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:32:02.217730 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/31/image_12122025_00_31_15_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/00/30/image_12122025_00_31_04_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/00/30/image_12122025_00_30_14_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/00/29/image_12122025_00_29_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/00/29/image_12122025_00_29_15_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/00/28/image_12122025_00_28_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:32:31.835487 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/32/image_12122025_00_32_25_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/00/31/image_12122025_00_32_05_10628.jpg', 2), ('/home/nano/Desktop/images/12122025/00/31/image_12122025_00_31_54_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/00/31/image_12122025_00_31_15_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/00/30/image_12122025_00_31_04_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/00/30/image_12122025_00_30_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:33:02.351887 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/32/image_12122025_00_32_25_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/00/31/image_12122025_00_32_05_10628.jpg', 2), ('/home/nano/Desktop/images/12122025/00/31/image_12122025_00_31_54_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/00/31/image_12122025_00_31_15_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/00/30/image_12122025_00_31_04_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/00/30/image_12122025_00_30_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:33:31.913435 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/33/image_12122025_00_33_25_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/00/32/image_12122025_00_32_35_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/00/32/image_12122025_00_32_25_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/00/31/image_12122025_00_32_05_10628.jpg', 2), ('/home/nano/Desktop/images/12122025/00/31/image_12122025_00_31_54_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/00/31/image_12122025_00_31_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:34:02.728830 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/33/image_12122025_00_33_25_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/00/32/image_12122025_00_32_35_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/00/32/image_12122025_00_32_25_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/00/31/image_12122025_00_32_05_10628.jpg', 2), ('/home/nano/Desktop/images/12122025/00/31/image_12122025_00_31_54_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/00/31/image_12122025_00_31_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:34:32.012717 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/33/image_12122025_00_33_25_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/00/32/image_12122025_00_32_35_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/00/32/image_12122025_00_32_25_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/00/31/image_12122025_00_32_05_10628.jpg', 2), ('/home/nano/Desktop/images/12122025/00/31/image_12122025_00_31_54_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/00/31/image_12122025_00_31_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:35:02.639594 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/33/image_12122025_00_33_25_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/00/32/image_12122025_00_32_35_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/00/32/image_12122025_00_32_25_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/00/31/image_12122025_00_32_05_10628.jpg', 2), ('/home/nano/Desktop/images/12122025/00/31/image_12122025_00_31_54_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/00/31/image_12122025_00_31_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:35:32.153388 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/35/image_12122025_00_35_14_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/00/33/image_12122025_00_33_34_9590.jpg', 2), ('/home/nano/Desktop/images/12122025/00/33/image_12122025_00_33_25_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/00/32/image_12122025_00_32_35_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/00/32/image_12122025_00_32_25_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/00/31/image_12122025_00_32_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:36:02.642671 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/35/image_12122025_00_35_14_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/00/33/image_12122025_00_33_34_9590.jpg', 2), ('/home/nano/Desktop/images/12122025/00/33/image_12122025_00_33_25_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/00/32/image_12122025_00_32_35_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/00/32/image_12122025_00_32_25_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/00/31/image_12122025_00_32_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:36:32.286502 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/36/image_12122025_00_36_45_9590.jpg', 2), ('/home/nano/Desktop/images/12122025/00/36/image_12122025_00_36_15_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/00/35/image_12122025_00_36_04_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/00/35/image_12122025_00_35_34_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/00/35/image_12122025_00_35_14_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/00/33/image_12122025_00_33_34_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:37:02.736543 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/36/image_12122025_00_36_45_9590.jpg', 2), ('/home/nano/Desktop/images/12122025/00/36/image_12122025_00_36_15_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/00/35/image_12122025_00_36_04_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/00/35/image_12122025_00_35_34_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/00/35/image_12122025_00_35_14_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/00/33/image_12122025_00_33_34_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:37:32.359355 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/37/image_12122025_00_37_25_10599.jpg', 2), ('/home/nano/Desktop/images/12122025/00/37/image_12122025_00_37_14_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/00/36/image_12122025_00_37_05_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/00/36/image_12122025_00_36_54_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/00/36/image_12122025_00_36_45_9590.jpg', 2), ('/home/nano/Desktop/images/12122025/00/36/image_12122025_00_36_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:38:02.825618 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/37/image_12122025_00_37_25_10599.jpg', 2), ('/home/nano/Desktop/images/12122025/00/37/image_12122025_00_37_14_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/00/36/image_12122025_00_37_05_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/00/36/image_12122025_00_36_54_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/00/36/image_12122025_00_36_45_9590.jpg', 2), ('/home/nano/Desktop/images/12122025/00/36/image_12122025_00_36_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:38:32.504567 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/38/image_12122025_00_38_25_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/00/37/image_12122025_00_37_35_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/00/37/image_12122025_00_37_25_10599.jpg', 2), ('/home/nano/Desktop/images/12122025/00/37/image_12122025_00_37_14_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/00/36/image_12122025_00_37_05_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/00/36/image_12122025_00_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:39:03.480663 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/39/image_12122025_00_39_24_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/00/38/image_12122025_00_38_25_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/00/37/image_12122025_00_37_35_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/00/37/image_12122025_00_37_25_10599.jpg', 2), ('/home/nano/Desktop/images/12122025/00/37/image_12122025_00_37_14_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/00/36/image_12122025_00_37_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:39:32.583391 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/39/image_12122025_00_39_24_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/00/39/image_12122025_00_39_15_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/00/38/image_12122025_00_39_05_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/00/38/image_12122025_00_38_34_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/00/38/image_12122025_00_38_25_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/00/37/image_12122025_00_37_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:40:03.017558 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/39/image_12122025_00_39_24_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/00/39/image_12122025_00_39_15_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/00/38/image_12122025_00_39_05_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/00/38/image_12122025_00_38_34_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/00/38/image_12122025_00_38_25_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/00/37/image_12122025_00_37_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:40:32.666962 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/39/image_12122025_00_39_55_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/00/39/image_12122025_00_39_24_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/00/39/image_12122025_00_39_15_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/00/38/image_12122025_00_39_05_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/00/38/image_12122025_00_38_34_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/00/38/image_12122025_00_38_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:41:02.356422 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/39/image_12122025_00_39_55_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/00/39/image_12122025_00_39_24_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/00/39/image_12122025_00_39_15_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/00/38/image_12122025_00_39_05_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/00/38/image_12122025_00_38_34_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/00/38/image_12122025_00_38_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:41:31.763980 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/39/image_12122025_00_39_55_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/00/39/image_12122025_00_39_24_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/00/39/image_12122025_00_39_15_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/00/38/image_12122025_00_39_05_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/00/38/image_12122025_00_38_34_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/00/38/image_12122025_00_38_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:42:02.232304 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/39/image_12122025_00_39_55_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/00/39/image_12122025_00_39_24_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/00/39/image_12122025_00_39_15_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/00/38/image_12122025_00_39_05_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/00/38/image_12122025_00_38_34_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/00/38/image_12122025_00_38_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:42:31.893710 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/39/image_12122025_00_39_55_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/00/39/image_12122025_00_39_24_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/00/39/image_12122025_00_39_15_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/00/38/image_12122025_00_39_05_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/00/38/image_12122025_00_38_34_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/00/38/image_12122025_00_38_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:43:02.538371 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/39/image_12122025_00_39_55_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/00/39/image_12122025_00_39_24_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/00/39/image_12122025_00_39_15_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/00/38/image_12122025_00_39_05_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/00/38/image_12122025_00_38_34_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/00/38/image_12122025_00_38_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:43:31.944936 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/43/image_12122025_00_43_15_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/00/40/image_12122025_00_40_14_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/00/39/image_12122025_00_39_55_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/00/39/image_12122025_00_39_24_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/00/39/image_12122025_00_39_15_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/00/38/image_12122025_00_39_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:44:02.589329 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/43/image_12122025_00_43_15_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/00/40/image_12122025_00_40_14_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/00/39/image_12122025_00_39_55_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/00/39/image_12122025_00_39_24_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/00/39/image_12122025_00_39_15_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/00/38/image_12122025_00_39_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:44:32.096153 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/44/image_12122025_00_44_25_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/00/43/image_12122025_00_43_45_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/00/43/image_12122025_00_43_15_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/00/40/image_12122025_00_40_14_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/00/39/image_12122025_00_39_55_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/00/39/image_12122025_00_39_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:45:02.583591 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/44/image_12122025_00_44_25_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/00/43/image_12122025_00_43_45_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/00/43/image_12122025_00_43_15_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/00/40/image_12122025_00_40_14_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/00/39/image_12122025_00_39_55_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/00/39/image_12122025_00_39_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:45:32.185705 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/44/image_12122025_00_44_25_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/00/43/image_12122025_00_43_45_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/00/43/image_12122025_00_43_15_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/00/40/image_12122025_00_40_14_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/00/39/image_12122025_00_39_55_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/00/39/image_12122025_00_39_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:46:02.677782 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/44/image_12122025_00_44_25_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/00/43/image_12122025_00_43_45_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/00/43/image_12122025_00_43_15_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/00/40/image_12122025_00_40_14_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/00/39/image_12122025_00_39_55_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/00/39/image_12122025_00_39_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:46:32.389855 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/44/image_12122025_00_44_25_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/00/43/image_12122025_00_43_45_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/00/43/image_12122025_00_43_15_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/00/40/image_12122025_00_40_14_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/00/39/image_12122025_00_39_55_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/00/39/image_12122025_00_39_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:47:03.008783 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/44/image_12122025_00_44_25_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/00/43/image_12122025_00_43_45_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/00/43/image_12122025_00_43_15_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/00/40/image_12122025_00_40_14_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/00/39/image_12122025_00_39_55_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/00/39/image_12122025_00_39_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:47:32.480599 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/46/image_12122025_00_47_05_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/00/44/image_12122025_00_44_35_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/00/44/image_12122025_00_44_25_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/00/43/image_12122025_00_43_45_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/00/43/image_12122025_00_43_15_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/00/40/image_12122025_00_40_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:48:02.887863 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/46/image_12122025_00_47_05_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/00/44/image_12122025_00_44_35_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/00/44/image_12122025_00_44_25_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/00/43/image_12122025_00_43_45_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/00/43/image_12122025_00_43_15_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/00/40/image_12122025_00_40_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:48:32.602947 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/48/image_12122025_00_48_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/00/46/image_12122025_00_47_05_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/00/44/image_12122025_00_44_35_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/00/44/image_12122025_00_44_25_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/00/43/image_12122025_00_43_45_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/00/43/image_12122025_00_43_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:49:03.490769 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/48/image_12122025_00_48_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/00/46/image_12122025_00_47_05_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/00/44/image_12122025_00_44_35_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/00/44/image_12122025_00_44_25_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/00/43/image_12122025_00_43_45_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/00/43/image_12122025_00_43_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:49:32.708547 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/49/image_12122025_00_49_45_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/00/49/image_12122025_00_49_14_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/00/48/image_12122025_00_49_05_9595.jpg', 2), ('/home/nano/Desktop/images/12122025/00/48/image_12122025_00_48_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/00/47/image_12122025_00_47_14_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/00/46/image_12122025_00_47_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:50:02.119896 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/49/image_12122025_00_49_45_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/00/49/image_12122025_00_49_14_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/00/48/image_12122025_00_49_05_9595.jpg', 2), ('/home/nano/Desktop/images/12122025/00/48/image_12122025_00_48_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/00/47/image_12122025_00_47_14_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/00/46/image_12122025_00_47_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:50:31.815014 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/49/image_12122025_00_49_45_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/00/49/image_12122025_00_49_14_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/00/48/image_12122025_00_49_05_9595.jpg', 2), ('/home/nano/Desktop/images/12122025/00/48/image_12122025_00_48_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/00/47/image_12122025_00_47_14_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/00/46/image_12122025_00_47_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:51:02.221956 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/49/image_12122025_00_49_45_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/00/49/image_12122025_00_49_14_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/00/48/image_12122025_00_49_05_9595.jpg', 2), ('/home/nano/Desktop/images/12122025/00/48/image_12122025_00_48_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/00/47/image_12122025_00_47_14_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/00/46/image_12122025_00_47_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:51:31.915470 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/50/image_12122025_00_51_05_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/00/49/image_12122025_00_49_55_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/00/49/image_12122025_00_49_45_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/00/49/image_12122025_00_49_14_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/00/48/image_12122025_00_49_05_9595.jpg', 2), ('/home/nano/Desktop/images/12122025/00/48/image_12122025_00_48_35_10596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:52:02.336561 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/50/image_12122025_00_51_05_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/00/49/image_12122025_00_49_55_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/00/49/image_12122025_00_49_45_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/00/49/image_12122025_00_49_14_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/00/48/image_12122025_00_49_05_9595.jpg', 2), ('/home/nano/Desktop/images/12122025/00/48/image_12122025_00_48_35_10596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:52:32.027651 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/50/image_12122025_00_51_05_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/00/49/image_12122025_00_49_55_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/00/49/image_12122025_00_49_45_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/00/49/image_12122025_00_49_14_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/00/48/image_12122025_00_49_05_9595.jpg', 2), ('/home/nano/Desktop/images/12122025/00/48/image_12122025_00_48_35_10596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:53:02.670652 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/50/image_12122025_00_51_05_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/00/49/image_12122025_00_49_55_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/00/49/image_12122025_00_49_45_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/00/49/image_12122025_00_49_14_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/00/48/image_12122025_00_49_05_9595.jpg', 2), ('/home/nano/Desktop/images/12122025/00/48/image_12122025_00_48_35_10596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:53:32.194729 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/50/image_12122025_00_51_05_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/00/49/image_12122025_00_49_55_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/00/49/image_12122025_00_49_45_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/00/49/image_12122025_00_49_14_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/00/48/image_12122025_00_49_05_9595.jpg', 2), ('/home/nano/Desktop/images/12122025/00/48/image_12122025_00_48_35_10596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:54:02.809954 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/50/image_12122025_00_51_05_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/00/49/image_12122025_00_49_55_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/00/49/image_12122025_00_49_45_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/00/49/image_12122025_00_49_14_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/00/48/image_12122025_00_49_05_9595.jpg', 2), ('/home/nano/Desktop/images/12122025/00/48/image_12122025_00_48_35_10596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:54:32.237769 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/50/image_12122025_00_51_05_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/00/49/image_12122025_00_49_55_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/00/49/image_12122025_00_49_45_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/00/49/image_12122025_00_49_14_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/00/48/image_12122025_00_49_05_9595.jpg', 2), ('/home/nano/Desktop/images/12122025/00/48/image_12122025_00_48_35_10596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:55:02.607046 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/50/image_12122025_00_51_05_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/00/49/image_12122025_00_49_55_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/00/49/image_12122025_00_49_45_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/00/49/image_12122025_00_49_14_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/00/48/image_12122025_00_49_05_9595.jpg', 2), ('/home/nano/Desktop/images/12122025/00/48/image_12122025_00_48_35_10596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:55:32.322472 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/50/image_12122025_00_51_05_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/00/49/image_12122025_00_49_55_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/00/49/image_12122025_00_49_45_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/00/49/image_12122025_00_49_14_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/00/48/image_12122025_00_49_05_9595.jpg', 2), ('/home/nano/Desktop/images/12122025/00/48/image_12122025_00_48_35_10596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:56:02.700320 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/50/image_12122025_00_51_05_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/00/49/image_12122025_00_49_55_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/00/49/image_12122025_00_49_45_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/00/49/image_12122025_00_49_14_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/00/48/image_12122025_00_49_05_9595.jpg', 2), ('/home/nano/Desktop/images/12122025/00/48/image_12122025_00_48_35_10596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:56:32.409666 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/56/image_12122025_00_56_44_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/00/51/image_12122025_00_51_14_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/00/50/image_12122025_00_51_05_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/00/49/image_12122025_00_49_55_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/00/49/image_12122025_00_49_45_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/00/49/image_12122025_00_49_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:57:03.046374 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/56/image_12122025_00_56_44_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/00/51/image_12122025_00_51_14_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/00/50/image_12122025_00_51_05_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/00/49/image_12122025_00_49_55_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/00/49/image_12122025_00_49_45_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/00/49/image_12122025_00_49_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:57:32.518571 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/57/image_12122025_00_57_45_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/00/56/image_12122025_00_56_44_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/00/51/image_12122025_00_51_14_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/00/50/image_12122025_00_51_05_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/00/49/image_12122025_00_49_55_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/00/49/image_12122025_00_49_45_10593.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:58:02.871520 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/57/image_12122025_00_57_45_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/00/56/image_12122025_00_56_44_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/00/51/image_12122025_00_51_14_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/00/50/image_12122025_00_51_05_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/00/49/image_12122025_00_49_55_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/00/49/image_12122025_00_49_45_10593.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:59:03.039051 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/57/image_12122025_00_57_45_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/00/56/image_12122025_00_56_44_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/00/51/image_12122025_00_51_14_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/00/50/image_12122025_00_51_05_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/00/49/image_12122025_00_49_55_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/00/49/image_12122025_00_49_45_10593.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 00:59:32.410462 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/57/image_12122025_00_57_45_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/00/56/image_12122025_00_56_44_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/00/51/image_12122025_00_51_14_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/00/50/image_12122025_00_51_05_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/00/49/image_12122025_00_49_55_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/00/49/image_12122025_00_49_45_10593.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:00:02.871189 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/00/57/image_12122025_00_57_45_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/00/56/image_12122025_00_56_44_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/00/51/image_12122025_00_51_14_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/00/50/image_12122025_00_51_05_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/00/49/image_12122025_00_49_55_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/00/49/image_12122025_00_49_45_10593.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:00:32.505262 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/00/image_12122025_01_00_24_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/01/00/image_12122025_01_00_15_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/00/57/image_12122025_00_57_45_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/00/56/image_12122025_00_56_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/00/56/image_12122025_00_56_44_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/00/51/image_12122025_00_51_14_9585.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:01:03.163017 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/00/image_12122025_01_00_24_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/01/00/image_12122025_01_00_15_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/00/57/image_12122025_00_57_45_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/00/56/image_12122025_00_56_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/00/56/image_12122025_00_56_44_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/00/51/image_12122025_00_51_14_9585.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:01:32.615244 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/00/image_12122025_01_00_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/01/00/image_12122025_01_00_24_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/01/00/image_12122025_01_00_15_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/00/57/image_12122025_00_57_45_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/00/56/image_12122025_00_56_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/00/56/image_12122025_00_56_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:02:03.000364 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/00/image_12122025_01_00_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/01/00/image_12122025_01_00_24_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/01/00/image_12122025_01_00_15_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/00/57/image_12122025_00_57_45_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/00/56/image_12122025_00_56_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/00/56/image_12122025_00_56_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:02:32.683997 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/00/image_12122025_01_00_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/01/00/image_12122025_01_00_24_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/01/00/image_12122025_01_00_15_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/00/57/image_12122025_00_57_45_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/00/56/image_12122025_00_56_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/00/56/image_12122025_00_56_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:03:02.379905 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/00/image_12122025_01_00_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/01/00/image_12122025_01_00_24_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/01/00/image_12122025_01_00_15_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/00/57/image_12122025_00_57_45_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/00/56/image_12122025_00_56_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/00/56/image_12122025_00_56_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:03:31.789685 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/00/image_12122025_01_00_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/01/00/image_12122025_01_00_24_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/01/00/image_12122025_01_00_15_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/00/57/image_12122025_00_57_45_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/00/56/image_12122025_00_56_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/00/56/image_12122025_00_56_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:04:02.347205 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/00/image_12122025_01_00_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/01/00/image_12122025_01_00_24_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/01/00/image_12122025_01_00_15_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/00/57/image_12122025_00_57_45_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/00/56/image_12122025_00_56_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/00/56/image_12122025_00_56_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:04:31.947916 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/00/image_12122025_01_00_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/01/00/image_12122025_01_00_24_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/01/00/image_12122025_01_00_15_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/00/57/image_12122025_00_57_45_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/00/56/image_12122025_00_56_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/00/56/image_12122025_00_56_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:05:02.452820 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/00/image_12122025_01_00_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/01/00/image_12122025_01_00_24_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/01/00/image_12122025_01_00_15_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/00/57/image_12122025_00_57_45_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/00/56/image_12122025_00_56_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/00/56/image_12122025_00_56_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:05:32.009225 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/00/image_12122025_01_00_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/01/00/image_12122025_01_00_24_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/01/00/image_12122025_01_00_15_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/00/57/image_12122025_00_57_45_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/00/56/image_12122025_00_56_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/00/56/image_12122025_00_56_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:06:02.458728 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/06/image_12122025_01_06_55_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/01/00/image_12122025_01_00_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/01/00/image_12122025_01_00_24_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/01/00/image_12122025_01_00_15_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/00/57/image_12122025_00_57_45_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/00/56/image_12122025_00_56_55_10596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:06:32.066982 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/06/image_12122025_01_06_55_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/01/05/image_12122025_01_06_05_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/01/00/image_12122025_01_01_05_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/01/00/image_12122025_01_00_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/01/00/image_12122025_01_00_24_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/01/00/image_12122025_01_00_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:07:02.666374 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/06/image_12122025_01_06_55_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/01/05/image_12122025_01_06_05_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/01/00/image_12122025_01_01_05_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/01/00/image_12122025_01_00_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/01/00/image_12122025_01_00_24_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/01/00/image_12122025_01_00_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:07:32.173880 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/07/image_12122025_01_07_15_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/01/06/image_12122025_01_06_55_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/01/06/image_12122025_01_06_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/01/05/image_12122025_01_06_05_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/01/00/image_12122025_01_01_05_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/01/00/image_12122025_01_00_55_10596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:08:02.630364 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/07/image_12122025_01_07_15_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/01/06/image_12122025_01_06_55_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/01/06/image_12122025_01_06_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/01/05/image_12122025_01_06_05_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/01/00/image_12122025_01_01_05_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/01/00/image_12122025_01_00_55_10596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:08:32.315821 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/07/image_12122025_01_08_05_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/01/07/image_12122025_01_07_24_9590.jpg', 2), ('/home/nano/Desktop/images/12122025/01/07/image_12122025_01_07_15_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/01/06/image_12122025_01_06_55_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/01/06/image_12122025_01_06_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/01/05/image_12122025_01_06_05_9585.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:09:03.181453 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/07/image_12122025_01_08_05_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/01/07/image_12122025_01_07_24_9590.jpg', 2), ('/home/nano/Desktop/images/12122025/01/07/image_12122025_01_07_15_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/01/06/image_12122025_01_06_55_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/01/06/image_12122025_01_06_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/01/05/image_12122025_01_06_05_9585.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:09:32.426533 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/09/image_12122025_01_09_45_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/01/09/image_12122025_01_09_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/09/image_12122025_01_09_24_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/01/08/image_12122025_01_08_14_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/01/07/image_12122025_01_08_05_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/01/07/image_12122025_01_07_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:10:02.924359 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/09/image_12122025_01_09_45_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/01/09/image_12122025_01_09_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/09/image_12122025_01_09_24_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/01/08/image_12122025_01_08_14_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/01/07/image_12122025_01_08_05_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/01/07/image_12122025_01_07_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:10:32.499896 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/10/image_12122025_01_10_25_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/01/09/image_12122025_01_09_54_9590.jpg', 2), ('/home/nano/Desktop/images/12122025/01/09/image_12122025_01_09_45_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/01/09/image_12122025_01_09_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/09/image_12122025_01_09_24_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/01/08/image_12122025_01_08_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:11:03.023252 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/10/image_12122025_01_10_25_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/01/09/image_12122025_01_09_54_9590.jpg', 2), ('/home/nano/Desktop/images/12122025/01/09/image_12122025_01_09_45_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/01/09/image_12122025_01_09_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/09/image_12122025_01_09_24_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/01/08/image_12122025_01_08_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:11:32.607153 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/10/image_12122025_01_10_25_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/01/09/image_12122025_01_09_54_9590.jpg', 2), ('/home/nano/Desktop/images/12122025/01/09/image_12122025_01_09_45_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/01/09/image_12122025_01_09_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/09/image_12122025_01_09_24_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/01/08/image_12122025_01_08_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:12:02.988377 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/10/image_12122025_01_10_25_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/01/09/image_12122025_01_09_54_9590.jpg', 2), ('/home/nano/Desktop/images/12122025/01/09/image_12122025_01_09_45_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/01/09/image_12122025_01_09_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/09/image_12122025_01_09_24_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/01/08/image_12122025_01_08_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:12:32.677205 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/10/image_12122025_01_10_25_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/01/09/image_12122025_01_09_54_9590.jpg', 2), ('/home/nano/Desktop/images/12122025/01/09/image_12122025_01_09_45_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/01/09/image_12122025_01_09_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/09/image_12122025_01_09_24_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/01/08/image_12122025_01_08_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:13:02.343998 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/10/image_12122025_01_10_25_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/01/09/image_12122025_01_09_54_9590.jpg', 2), ('/home/nano/Desktop/images/12122025/01/09/image_12122025_01_09_45_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/01/09/image_12122025_01_09_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/09/image_12122025_01_09_24_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/01/08/image_12122025_01_08_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:13:31.873616 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/10/image_12122025_01_10_25_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/01/09/image_12122025_01_09_54_9590.jpg', 2), ('/home/nano/Desktop/images/12122025/01/09/image_12122025_01_09_45_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/01/09/image_12122025_01_09_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/09/image_12122025_01_09_24_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/01/08/image_12122025_01_08_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:14:02.392062 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/10/image_12122025_01_10_25_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/01/09/image_12122025_01_09_54_9590.jpg', 2), ('/home/nano/Desktop/images/12122025/01/09/image_12122025_01_09_45_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/01/09/image_12122025_01_09_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/09/image_12122025_01_09_24_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/01/08/image_12122025_01_08_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:14:31.942512 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/14/image_12122025_01_14_45_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/01/10/image_12122025_01_10_35_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/01/10/image_12122025_01_10_25_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/01/09/image_12122025_01_09_54_9590.jpg', 2), ('/home/nano/Desktop/images/12122025/01/09/image_12122025_01_09_45_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/01/09/image_12122025_01_09_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:15:02.600347 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/14/image_12122025_01_14_45_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/01/10/image_12122025_01_10_35_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/01/10/image_12122025_01_10_25_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/01/09/image_12122025_01_09_54_9590.jpg', 2), ('/home/nano/Desktop/images/12122025/01/09/image_12122025_01_09_45_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/01/09/image_12122025_01_09_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:15:32.048830 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/14/image_12122025_01_14_45_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/01/10/image_12122025_01_10_35_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/01/10/image_12122025_01_10_25_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/01/09/image_12122025_01_09_54_9590.jpg', 2), ('/home/nano/Desktop/images/12122025/01/09/image_12122025_01_09_45_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/01/09/image_12122025_01_09_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:16:02.478815 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/14/image_12122025_01_14_45_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/01/10/image_12122025_01_10_35_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/01/10/image_12122025_01_10_25_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/01/09/image_12122025_01_09_54_9590.jpg', 2), ('/home/nano/Desktop/images/12122025/01/09/image_12122025_01_09_45_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/01/09/image_12122025_01_09_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:16:32.132174 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/14/image_12122025_01_14_45_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/01/10/image_12122025_01_10_35_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/01/10/image_12122025_01_10_25_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/01/09/image_12122025_01_09_54_9590.jpg', 2), ('/home/nano/Desktop/images/12122025/01/09/image_12122025_01_09_45_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/01/09/image_12122025_01_09_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:17:02.628901 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/14/image_12122025_01_14_45_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/01/10/image_12122025_01_10_35_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/01/10/image_12122025_01_10_25_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/01/09/image_12122025_01_09_54_9590.jpg', 2), ('/home/nano/Desktop/images/12122025/01/09/image_12122025_01_09_45_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/01/09/image_12122025_01_09_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:17:32.276031 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/17/image_12122025_01_17_35_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/01/14/image_12122025_01_14_54_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/01/14/image_12122025_01_14_45_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/01/10/image_12122025_01_10_35_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/01/10/image_12122025_01_10_25_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/01/09/image_12122025_01_09_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:18:02.745907 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/17/image_12122025_01_17_35_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/01/14/image_12122025_01_14_54_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/01/14/image_12122025_01_14_45_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/01/10/image_12122025_01_10_35_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/01/10/image_12122025_01_10_25_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/01/09/image_12122025_01_09_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:18:32.406398 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/17/image_12122025_01_17_35_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/01/14/image_12122025_01_14_54_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/01/14/image_12122025_01_14_45_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/01/10/image_12122025_01_10_35_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/01/10/image_12122025_01_10_25_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/01/09/image_12122025_01_09_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:19:03.262392 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/17/image_12122025_01_17_35_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/01/14/image_12122025_01_14_54_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/01/14/image_12122025_01_14_45_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/01/10/image_12122025_01_10_35_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/01/10/image_12122025_01_10_25_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/01/09/image_12122025_01_09_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:19:32.448279 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/19/image_12122025_01_19_15_9593.jpg', 2), ('/home/nano/Desktop/images/12122025/01/17/image_12122025_01_17_44_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/01/17/image_12122025_01_17_35_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/01/14/image_12122025_01_14_54_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/01/14/image_12122025_01_14_45_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/01/10/image_12122025_01_10_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:20:02.992232 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/19/image_12122025_01_19_15_9593.jpg', 2), ('/home/nano/Desktop/images/12122025/01/17/image_12122025_01_17_44_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/01/17/image_12122025_01_17_35_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/01/14/image_12122025_01_14_54_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/01/14/image_12122025_01_14_45_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/01/10/image_12122025_01_10_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:20:32.646950 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/19/image_12122025_01_19_15_9593.jpg', 2), ('/home/nano/Desktop/images/12122025/01/17/image_12122025_01_17_44_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/01/17/image_12122025_01_17_35_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/01/14/image_12122025_01_14_54_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/01/14/image_12122025_01_14_45_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/01/10/image_12122025_01_10_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:21:03.241680 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/19/image_12122025_01_19_15_9593.jpg', 2), ('/home/nano/Desktop/images/12122025/01/17/image_12122025_01_17_44_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/01/17/image_12122025_01_17_35_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/01/14/image_12122025_01_14_54_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/01/14/image_12122025_01_14_45_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/01/10/image_12122025_01_10_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:21:32.724126 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/19/image_12122025_01_19_15_9593.jpg', 2), ('/home/nano/Desktop/images/12122025/01/17/image_12122025_01_17_44_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/01/17/image_12122025_01_17_35_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/01/14/image_12122025_01_14_54_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/01/14/image_12122025_01_14_45_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/01/10/image_12122025_01_10_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:22:02.195973 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/19/image_12122025_01_19_15_9593.jpg', 2), ('/home/nano/Desktop/images/12122025/01/17/image_12122025_01_17_44_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/01/17/image_12122025_01_17_35_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/01/14/image_12122025_01_14_54_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/01/14/image_12122025_01_14_45_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/01/10/image_12122025_01_10_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:22:31.831126 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/19/image_12122025_01_19_15_9593.jpg', 2), ('/home/nano/Desktop/images/12122025/01/17/image_12122025_01_17_44_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/01/17/image_12122025_01_17_35_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/01/14/image_12122025_01_14_54_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/01/14/image_12122025_01_14_45_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/01/10/image_12122025_01_10_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:23:02.386922 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/19/image_12122025_01_19_15_9593.jpg', 2), ('/home/nano/Desktop/images/12122025/01/17/image_12122025_01_17_44_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/01/17/image_12122025_01_17_35_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/01/14/image_12122025_01_14_54_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/01/14/image_12122025_01_14_45_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/01/10/image_12122025_01_10_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:23:31.923167 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/19/image_12122025_01_19_15_9593.jpg', 2), ('/home/nano/Desktop/images/12122025/01/17/image_12122025_01_17_44_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/01/17/image_12122025_01_17_35_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/01/14/image_12122025_01_14_54_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/01/14/image_12122025_01_14_45_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/01/10/image_12122025_01_10_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:24:02.580614 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/19/image_12122025_01_19_15_9593.jpg', 2), ('/home/nano/Desktop/images/12122025/01/17/image_12122025_01_17_44_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/01/17/image_12122025_01_17_35_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/01/14/image_12122025_01_14_54_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/01/14/image_12122025_01_14_45_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/01/10/image_12122025_01_10_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:24:32.012081 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/24/image_12122025_01_24_35_10600.jpg', 2), ('/home/nano/Desktop/images/12122025/01/19/image_12122025_01_19_55_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/01/19/image_12122025_01_19_15_9593.jpg', 2), ('/home/nano/Desktop/images/12122025/01/17/image_12122025_01_17_44_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/01/17/image_12122025_01_17_35_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/01/14/image_12122025_01_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:25:02.620232 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/24/image_12122025_01_24_35_10600.jpg', 2), ('/home/nano/Desktop/images/12122025/01/19/image_12122025_01_19_55_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/01/19/image_12122025_01_19_15_9593.jpg', 2), ('/home/nano/Desktop/images/12122025/01/17/image_12122025_01_17_44_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/01/17/image_12122025_01_17_35_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/01/14/image_12122025_01_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:25:32.126275 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/24/image_12122025_01_25_05_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/01/24/image_12122025_01_24_44_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/01/24/image_12122025_01_24_35_10600.jpg', 2), ('/home/nano/Desktop/images/12122025/01/19/image_12122025_01_19_55_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/01/19/image_12122025_01_19_15_9593.jpg', 2), ('/home/nano/Desktop/images/12122025/01/17/image_12122025_01_17_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:26:02.678119 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/24/image_12122025_01_25_05_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/01/24/image_12122025_01_24_44_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/01/24/image_12122025_01_24_35_10600.jpg', 2), ('/home/nano/Desktop/images/12122025/01/19/image_12122025_01_19_55_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/01/19/image_12122025_01_19_15_9593.jpg', 2), ('/home/nano/Desktop/images/12122025/01/17/image_12122025_01_17_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:26:32.266879 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/26/image_12122025_01_26_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/25/image_12122025_01_25_14_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/01/24/image_12122025_01_25_05_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/01/24/image_12122025_01_24_44_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/01/24/image_12122025_01_24_35_10600.jpg', 2), ('/home/nano/Desktop/images/12122025/01/19/image_12122025_01_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:27:02.836944 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/26/image_12122025_01_26_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/25/image_12122025_01_25_14_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/01/24/image_12122025_01_25_05_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/01/24/image_12122025_01_24_44_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/01/24/image_12122025_01_24_35_10600.jpg', 2), ('/home/nano/Desktop/images/12122025/01/19/image_12122025_01_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:27:32.380718 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/26/image_12122025_01_26_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/25/image_12122025_01_25_14_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/01/24/image_12122025_01_25_05_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/01/24/image_12122025_01_24_44_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/01/24/image_12122025_01_24_35_10600.jpg', 2), ('/home/nano/Desktop/images/12122025/01/19/image_12122025_01_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:28:02.917397 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/26/image_12122025_01_26_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/25/image_12122025_01_25_14_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/01/24/image_12122025_01_25_05_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/01/24/image_12122025_01_24_44_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/01/24/image_12122025_01_24_35_10600.jpg', 2), ('/home/nano/Desktop/images/12122025/01/19/image_12122025_01_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:28:32.549400 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/26/image_12122025_01_26_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/25/image_12122025_01_25_14_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/01/24/image_12122025_01_25_05_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/01/24/image_12122025_01_24_44_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/01/24/image_12122025_01_24_35_10600.jpg', 2), ('/home/nano/Desktop/images/12122025/01/19/image_12122025_01_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:29:03.454417 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/26/image_12122025_01_26_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/25/image_12122025_01_25_14_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/01/24/image_12122025_01_25_05_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/01/24/image_12122025_01_24_44_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/01/24/image_12122025_01_24_35_10600.jpg', 2), ('/home/nano/Desktop/images/12122025/01/19/image_12122025_01_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:29:32.719597 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/26/image_12122025_01_26_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/25/image_12122025_01_25_14_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/01/24/image_12122025_01_25_05_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/01/24/image_12122025_01_24_44_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/01/24/image_12122025_01_24_35_10600.jpg', 2), ('/home/nano/Desktop/images/12122025/01/19/image_12122025_01_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:30:02.096627 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/26/image_12122025_01_26_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/25/image_12122025_01_25_14_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/01/24/image_12122025_01_25_05_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/01/24/image_12122025_01_24_44_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/01/24/image_12122025_01_24_35_10600.jpg', 2), ('/home/nano/Desktop/images/12122025/01/19/image_12122025_01_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:30:31.783194 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/29/image_12122025_01_30_04_9631.jpg', 2), ('/home/nano/Desktop/images/12122025/01/26/image_12122025_01_26_45_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/01/26/image_12122025_01_26_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/25/image_12122025_01_25_14_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/01/24/image_12122025_01_25_05_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/01/24/image_12122025_01_24_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:31:02.330275 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/29/image_12122025_01_30_04_9631.jpg', 2), ('/home/nano/Desktop/images/12122025/01/26/image_12122025_01_26_45_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/01/26/image_12122025_01_26_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/25/image_12122025_01_25_14_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/01/24/image_12122025_01_25_05_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/01/24/image_12122025_01_24_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:31:31.861262 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/29/image_12122025_01_30_04_9631.jpg', 2), ('/home/nano/Desktop/images/12122025/01/26/image_12122025_01_26_45_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/01/26/image_12122025_01_26_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/25/image_12122025_01_25_14_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/01/24/image_12122025_01_25_05_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/01/24/image_12122025_01_24_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:32:02.239490 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/29/image_12122025_01_30_04_9631.jpg', 2), ('/home/nano/Desktop/images/12122025/01/26/image_12122025_01_26_45_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/01/26/image_12122025_01_26_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/25/image_12122025_01_25_14_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/01/24/image_12122025_01_25_05_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/01/24/image_12122025_01_24_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:32:31.947160 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/32/image_12122025_01_32_25_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/01/30/image_12122025_01_30_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/01/29/image_12122025_01_30_04_9631.jpg', 2), ('/home/nano/Desktop/images/12122025/01/26/image_12122025_01_26_45_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/01/26/image_12122025_01_26_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/25/image_12122025_01_25_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:33:02.525462 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/32/image_12122025_01_32_25_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/01/30/image_12122025_01_30_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/01/29/image_12122025_01_30_04_9631.jpg', 2), ('/home/nano/Desktop/images/12122025/01/26/image_12122025_01_26_45_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/01/26/image_12122025_01_26_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/25/image_12122025_01_25_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:33:32.046880 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/32/image_12122025_01_32_25_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/01/30/image_12122025_01_30_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/01/29/image_12122025_01_30_04_9631.jpg', 2), ('/home/nano/Desktop/images/12122025/01/26/image_12122025_01_26_45_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/01/26/image_12122025_01_26_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/25/image_12122025_01_25_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:34:02.772281 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/32/image_12122025_01_32_25_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/01/30/image_12122025_01_30_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/01/29/image_12122025_01_30_04_9631.jpg', 2), ('/home/nano/Desktop/images/12122025/01/26/image_12122025_01_26_45_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/01/26/image_12122025_01_26_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/25/image_12122025_01_25_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:34:32.153786 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/32/image_12122025_01_32_25_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/01/30/image_12122025_01_30_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/01/29/image_12122025_01_30_04_9631.jpg', 2), ('/home/nano/Desktop/images/12122025/01/26/image_12122025_01_26_45_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/01/26/image_12122025_01_26_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/25/image_12122025_01_25_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:35:02.839215 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/32/image_12122025_01_32_25_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/01/30/image_12122025_01_30_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/01/29/image_12122025_01_30_04_9631.jpg', 2), ('/home/nano/Desktop/images/12122025/01/26/image_12122025_01_26_45_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/01/26/image_12122025_01_26_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/25/image_12122025_01_25_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:35:32.334962 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/32/image_12122025_01_32_25_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/01/30/image_12122025_01_30_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/01/29/image_12122025_01_30_04_9631.jpg', 2), ('/home/nano/Desktop/images/12122025/01/26/image_12122025_01_26_45_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/01/26/image_12122025_01_26_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/25/image_12122025_01_25_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:36:02.736363 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/32/image_12122025_01_32_25_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/01/30/image_12122025_01_30_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/01/29/image_12122025_01_30_04_9631.jpg', 2), ('/home/nano/Desktop/images/12122025/01/26/image_12122025_01_26_45_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/01/26/image_12122025_01_26_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/25/image_12122025_01_25_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:36:32.527236 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/36/image_12122025_01_36_15_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/01/32/image_12122025_01_32_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/01/32/image_12122025_01_32_25_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/01/30/image_12122025_01_30_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/01/29/image_12122025_01_30_04_9631.jpg', 2), ('/home/nano/Desktop/images/12122025/01/26/image_12122025_01_26_45_9585.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:37:03.009429 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/36/image_12122025_01_36_15_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/01/32/image_12122025_01_32_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/01/32/image_12122025_01_32_25_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/01/30/image_12122025_01_30_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/01/29/image_12122025_01_30_04_9631.jpg', 2), ('/home/nano/Desktop/images/12122025/01/26/image_12122025_01_26_45_9585.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:37:32.571351 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/37/image_12122025_01_37_45_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/36/image_12122025_01_36_24_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/01/36/image_12122025_01_36_15_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/01/32/image_12122025_01_32_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/01/32/image_12122025_01_32_25_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/01/30/image_12122025_01_30_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:38:03.078501 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/37/image_12122025_01_37_45_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/36/image_12122025_01_36_24_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/01/36/image_12122025_01_36_15_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/01/32/image_12122025_01_32_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/01/32/image_12122025_01_32_25_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/01/30/image_12122025_01_30_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:38:32.677311 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/37/image_12122025_01_37_45_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/36/image_12122025_01_36_24_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/01/36/image_12122025_01_36_15_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/01/32/image_12122025_01_32_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/01/32/image_12122025_01_32_25_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/01/30/image_12122025_01_30_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:39:02.285046 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/37/image_12122025_01_37_45_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/36/image_12122025_01_36_24_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/01/36/image_12122025_01_36_15_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/01/32/image_12122025_01_32_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/01/32/image_12122025_01_32_25_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/01/30/image_12122025_01_30_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:39:31.773408 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/37/image_12122025_01_37_45_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/36/image_12122025_01_36_24_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/01/36/image_12122025_01_36_15_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/01/32/image_12122025_01_32_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/01/32/image_12122025_01_32_25_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/01/30/image_12122025_01_30_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:40:02.244885 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/37/image_12122025_01_37_45_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/36/image_12122025_01_36_24_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/01/36/image_12122025_01_36_15_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/01/32/image_12122025_01_32_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/01/32/image_12122025_01_32_25_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/01/30/image_12122025_01_30_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:40:31.842881 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/37/image_12122025_01_37_45_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/36/image_12122025_01_36_24_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/01/36/image_12122025_01_36_15_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/01/32/image_12122025_01_32_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/01/32/image_12122025_01_32_25_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/01/30/image_12122025_01_30_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:41:02.552960 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/37/image_12122025_01_37_45_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/36/image_12122025_01_36_24_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/01/36/image_12122025_01_36_15_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/01/32/image_12122025_01_32_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/01/32/image_12122025_01_32_25_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/01/30/image_12122025_01_30_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:41:31.939407 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/41/image_12122025_01_41_25_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/01/37/image_12122025_01_37_55_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/01/37/image_12122025_01_37_45_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/36/image_12122025_01_36_24_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/01/36/image_12122025_01_36_15_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/01/32/image_12122025_01_32_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:42:02.487042 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/41/image_12122025_01_41_25_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/01/37/image_12122025_01_37_55_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/01/37/image_12122025_01_37_45_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/36/image_12122025_01_36_24_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/01/36/image_12122025_01_36_15_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/01/32/image_12122025_01_32_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:42:32.051165 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/41/image_12122025_01_41_25_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/01/37/image_12122025_01_37_55_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/01/37/image_12122025_01_37_45_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/36/image_12122025_01_36_24_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/01/36/image_12122025_01_36_15_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/01/32/image_12122025_01_32_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:43:02.643310 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/41/image_12122025_01_41_25_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/01/37/image_12122025_01_37_55_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/01/37/image_12122025_01_37_45_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/36/image_12122025_01_36_24_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/01/36/image_12122025_01_36_15_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/01/32/image_12122025_01_32_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:43:32.158536 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/41/image_12122025_01_41_25_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/01/37/image_12122025_01_37_55_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/01/37/image_12122025_01_37_45_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/36/image_12122025_01_36_24_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/01/36/image_12122025_01_36_15_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/01/32/image_12122025_01_32_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:44:02.989182 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/41/image_12122025_01_41_25_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/01/37/image_12122025_01_37_55_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/01/37/image_12122025_01_37_45_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/36/image_12122025_01_36_24_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/01/36/image_12122025_01_36_15_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/01/32/image_12122025_01_32_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:44:32.289817 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/41/image_12122025_01_41_25_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/01/37/image_12122025_01_37_55_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/01/37/image_12122025_01_37_45_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/36/image_12122025_01_36_24_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/01/36/image_12122025_01_36_15_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/01/32/image_12122025_01_32_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:45:02.909859 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/41/image_12122025_01_41_25_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/01/37/image_12122025_01_37_55_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/01/37/image_12122025_01_37_45_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/36/image_12122025_01_36_24_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/01/36/image_12122025_01_36_15_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/01/32/image_12122025_01_32_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:45:32.404166 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/41/image_12122025_01_41_25_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/01/37/image_12122025_01_37_55_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/01/37/image_12122025_01_37_45_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/36/image_12122025_01_36_24_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/01/36/image_12122025_01_36_15_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/01/32/image_12122025_01_32_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:46:02.905942 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/41/image_12122025_01_41_25_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/01/37/image_12122025_01_37_55_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/01/37/image_12122025_01_37_45_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/36/image_12122025_01_36_24_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/01/36/image_12122025_01_36_15_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/01/32/image_12122025_01_32_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:46:32.495900 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/41/image_12122025_01_41_25_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/01/37/image_12122025_01_37_55_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/01/37/image_12122025_01_37_45_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/36/image_12122025_01_36_24_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/01/36/image_12122025_01_36_15_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/01/32/image_12122025_01_32_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:47:02.904515 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/41/image_12122025_01_41_25_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/01/37/image_12122025_01_37_55_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/01/37/image_12122025_01_37_45_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/36/image_12122025_01_36_24_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/01/36/image_12122025_01_36_15_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/01/32/image_12122025_01_32_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:47:32.594683 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/47/image_12122025_01_47_25_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/01/41/image_12122025_01_41_35_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/01/41/image_12122025_01_41_25_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/01/37/image_12122025_01_37_55_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/01/37/image_12122025_01_37_45_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/36/image_12122025_01_36_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:48:02.990046 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/47/image_12122025_01_47_25_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/01/41/image_12122025_01_41_35_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/01/41/image_12122025_01_41_25_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/01/37/image_12122025_01_37_55_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/01/37/image_12122025_01_37_45_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/36/image_12122025_01_36_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:48:32.704607 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/47/image_12122025_01_47_25_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/01/41/image_12122025_01_41_35_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/01/41/image_12122025_01_41_25_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/01/37/image_12122025_01_37_55_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/01/37/image_12122025_01_37_45_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/36/image_12122025_01_36_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:49:02.623983 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/47/image_12122025_01_47_25_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/01/41/image_12122025_01_41_35_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/01/41/image_12122025_01_41_25_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/01/37/image_12122025_01_37_55_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/01/37/image_12122025_01_37_45_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/36/image_12122025_01_36_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:49:31.819739 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/47/image_12122025_01_47_25_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/01/41/image_12122025_01_41_35_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/01/41/image_12122025_01_41_25_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/01/37/image_12122025_01_37_55_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/01/37/image_12122025_01_37_45_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/36/image_12122025_01_36_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:50:02.261887 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/47/image_12122025_01_47_25_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/01/41/image_12122025_01_41_35_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/01/41/image_12122025_01_41_25_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/01/37/image_12122025_01_37_55_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/01/37/image_12122025_01_37_45_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/36/image_12122025_01_36_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:50:31.894983 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/47/image_12122025_01_47_25_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/01/41/image_12122025_01_41_35_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/01/41/image_12122025_01_41_25_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/01/37/image_12122025_01_37_55_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/01/37/image_12122025_01_37_45_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/36/image_12122025_01_36_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:51:02.417846 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/47/image_12122025_01_47_25_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/01/41/image_12122025_01_41_35_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/01/41/image_12122025_01_41_25_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/01/37/image_12122025_01_37_55_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/01/37/image_12122025_01_37_45_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/36/image_12122025_01_36_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:51:32.010171 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/47/image_12122025_01_47_25_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/01/41/image_12122025_01_41_35_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/01/41/image_12122025_01_41_25_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/01/37/image_12122025_01_37_55_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/01/37/image_12122025_01_37_45_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/36/image_12122025_01_36_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:52:02.538110 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/47/image_12122025_01_47_25_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/01/41/image_12122025_01_41_35_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/01/41/image_12122025_01_41_25_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/01/37/image_12122025_01_37_55_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/01/37/image_12122025_01_37_45_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/36/image_12122025_01_36_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:52:32.107155 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/51/image_12122025_01_52_04_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/01/47/image_12122025_01_47_34_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/01/47/image_12122025_01_47_25_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/01/41/image_12122025_01_41_35_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/01/41/image_12122025_01_41_25_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/01/37/image_12122025_01_37_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:53:02.738030 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/51/image_12122025_01_52_04_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/01/47/image_12122025_01_47_34_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/01/47/image_12122025_01_47_25_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/01/41/image_12122025_01_41_35_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/01/41/image_12122025_01_41_25_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/01/37/image_12122025_01_37_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:53:32.170174 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/51/image_12122025_01_52_04_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/01/47/image_12122025_01_47_34_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/01/47/image_12122025_01_47_25_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/01/41/image_12122025_01_41_35_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/01/41/image_12122025_01_41_25_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/01/37/image_12122025_01_37_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:54:02.817602 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/51/image_12122025_01_52_04_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/01/47/image_12122025_01_47_34_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/01/47/image_12122025_01_47_25_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/01/41/image_12122025_01_41_35_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/01/41/image_12122025_01_41_25_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/01/37/image_12122025_01_37_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:54:32.273985 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/51/image_12122025_01_52_04_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/01/47/image_12122025_01_47_34_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/01/47/image_12122025_01_47_25_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/01/41/image_12122025_01_41_35_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/01/41/image_12122025_01_41_25_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/01/37/image_12122025_01_37_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:55:02.827650 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/51/image_12122025_01_52_04_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/01/47/image_12122025_01_47_34_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/01/47/image_12122025_01_47_25_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/01/41/image_12122025_01_41_35_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/01/41/image_12122025_01_41_25_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/01/37/image_12122025_01_37_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:55:32.477529 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/51/image_12122025_01_52_04_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/01/47/image_12122025_01_47_34_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/01/47/image_12122025_01_47_25_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/01/41/image_12122025_01_41_35_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/01/41/image_12122025_01_41_25_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/01/37/image_12122025_01_37_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:56:02.834667 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/51/image_12122025_01_52_04_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/01/47/image_12122025_01_47_34_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/01/47/image_12122025_01_47_25_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/01/41/image_12122025_01_41_35_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/01/41/image_12122025_01_41_25_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/01/37/image_12122025_01_37_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:56:32.476157 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/56/image_12122025_01_56_45_10592.jpg', 2), ('/home/nano/Desktop/images/12122025/01/56/image_12122025_01_56_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/56/image_12122025_01_56_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/01/52/image_12122025_01_52_15_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/01/51/image_12122025_01_52_04_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/01/47/image_12122025_01_47_34_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:57:02.986951 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/56/image_12122025_01_56_45_10592.jpg', 2), ('/home/nano/Desktop/images/12122025/01/56/image_12122025_01_56_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/56/image_12122025_01_56_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/01/52/image_12122025_01_52_15_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/01/51/image_12122025_01_52_04_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/01/47/image_12122025_01_47_34_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:57:32.558799 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/56/image_12122025_01_56_45_10592.jpg', 2), ('/home/nano/Desktop/images/12122025/01/56/image_12122025_01_56_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/56/image_12122025_01_56_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/01/52/image_12122025_01_52_15_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/01/51/image_12122025_01_52_04_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/01/47/image_12122025_01_47_34_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:59:03.244286 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/56/image_12122025_01_56_45_10592.jpg', 2), ('/home/nano/Desktop/images/12122025/01/56/image_12122025_01_56_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/56/image_12122025_01_56_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/01/52/image_12122025_01_52_15_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/01/51/image_12122025_01_52_04_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/01/47/image_12122025_01_47_34_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 01:59:32.510394 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/56/image_12122025_01_56_45_10592.jpg', 2), ('/home/nano/Desktop/images/12122025/01/56/image_12122025_01_56_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/56/image_12122025_01_56_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/01/52/image_12122025_01_52_15_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/01/51/image_12122025_01_52_04_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/01/47/image_12122025_01_47_34_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:00:02.993160 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/56/image_12122025_01_56_45_10592.jpg', 2), ('/home/nano/Desktop/images/12122025/01/56/image_12122025_01_56_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/56/image_12122025_01_56_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/01/52/image_12122025_01_52_15_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/01/51/image_12122025_01_52_04_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/01/47/image_12122025_01_47_34_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:00:32.584004 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/56/image_12122025_01_56_45_10592.jpg', 2), ('/home/nano/Desktop/images/12122025/01/56/image_12122025_01_56_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/56/image_12122025_01_56_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/01/52/image_12122025_01_52_15_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/01/51/image_12122025_01_52_04_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/01/47/image_12122025_01_47_34_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:01:03.215820 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/01/56/image_12122025_01_56_45_10592.jpg', 2), ('/home/nano/Desktop/images/12122025/01/56/image_12122025_01_56_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/56/image_12122025_01_56_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/01/52/image_12122025_01_52_15_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/01/51/image_12122025_01_52_04_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/01/47/image_12122025_01_47_34_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:01:32.719475 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/00/image_12122025_02_01_04_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/01/56/image_12122025_01_56_45_10592.jpg', 2), ('/home/nano/Desktop/images/12122025/01/56/image_12122025_01_56_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/56/image_12122025_01_56_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/01/52/image_12122025_01_52_15_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/01/51/image_12122025_01_52_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:02:02.221800 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/00/image_12122025_02_01_04_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/01/56/image_12122025_01_56_45_10592.jpg', 2), ('/home/nano/Desktop/images/12122025/01/56/image_12122025_01_56_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/56/image_12122025_01_56_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/01/52/image_12122025_01_52_15_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/01/51/image_12122025_01_52_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:02:31.786437 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/00/image_12122025_02_01_04_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/01/56/image_12122025_01_56_45_10592.jpg', 2), ('/home/nano/Desktop/images/12122025/01/56/image_12122025_01_56_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/56/image_12122025_01_56_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/01/52/image_12122025_01_52_15_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/01/51/image_12122025_01_52_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:03:02.434142 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/00/image_12122025_02_01_04_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/01/56/image_12122025_01_56_45_10592.jpg', 2), ('/home/nano/Desktop/images/12122025/01/56/image_12122025_01_56_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/56/image_12122025_01_56_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/01/52/image_12122025_01_52_15_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/01/51/image_12122025_01_52_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:03:31.937947 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/00/image_12122025_02_01_04_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/01/56/image_12122025_01_56_45_10592.jpg', 2), ('/home/nano/Desktop/images/12122025/01/56/image_12122025_01_56_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/56/image_12122025_01_56_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/01/52/image_12122025_01_52_15_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/01/51/image_12122025_01_52_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:04:02.708485 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/00/image_12122025_02_01_04_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/01/56/image_12122025_01_56_45_10592.jpg', 2), ('/home/nano/Desktop/images/12122025/01/56/image_12122025_01_56_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/56/image_12122025_01_56_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/01/52/image_12122025_01_52_15_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/01/51/image_12122025_01_52_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:04:32.025043 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/00/image_12122025_02_01_04_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/01/56/image_12122025_01_56_45_10592.jpg', 2), ('/home/nano/Desktop/images/12122025/01/56/image_12122025_01_56_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/56/image_12122025_01_56_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/01/52/image_12122025_01_52_15_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/01/51/image_12122025_01_52_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:05:02.682347 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/00/image_12122025_02_01_04_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/01/56/image_12122025_01_56_45_10592.jpg', 2), ('/home/nano/Desktop/images/12122025/01/56/image_12122025_01_56_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/56/image_12122025_01_56_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/01/52/image_12122025_01_52_15_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/01/51/image_12122025_01_52_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:05:32.167204 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/00/image_12122025_02_01_04_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/01/56/image_12122025_01_56_45_10592.jpg', 2), ('/home/nano/Desktop/images/12122025/01/56/image_12122025_01_56_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/56/image_12122025_01_56_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/01/52/image_12122025_01_52_15_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/01/51/image_12122025_01_52_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:06:02.695280 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/00/image_12122025_02_01_04_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/01/56/image_12122025_01_56_45_10592.jpg', 2), ('/home/nano/Desktop/images/12122025/01/56/image_12122025_01_56_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/56/image_12122025_01_56_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/01/52/image_12122025_01_52_15_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/01/51/image_12122025_01_52_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:06:32.272218 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/00/image_12122025_02_01_04_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/01/56/image_12122025_01_56_55_9582.jpg', 2), ('/home/nano/Desktop/images/12122025/01/56/image_12122025_01_56_45_10592.jpg', 2), ('/home/nano/Desktop/images/12122025/01/56/image_12122025_01_56_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/56/image_12122025_01_56_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/01/52/image_12122025_01_52_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:07:02.873486 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/00/image_12122025_02_01_04_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/01/56/image_12122025_01_56_55_9582.jpg', 2), ('/home/nano/Desktop/images/12122025/01/56/image_12122025_01_56_45_10592.jpg', 2), ('/home/nano/Desktop/images/12122025/01/56/image_12122025_01_56_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/01/56/image_12122025_01_56_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/01/52/image_12122025_01_52_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:07:32.357318 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/07/image_12122025_02_07_14_9593.jpg', 2), ('/home/nano/Desktop/images/12122025/02/06/image_12122025_02_07_05_10610.jpg', 2), ('/home/nano/Desktop/images/12122025/02/06/image_12122025_02_06_54_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/02/00/image_12122025_02_01_04_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/01/56/image_12122025_01_56_55_9582.jpg', 2), ('/home/nano/Desktop/images/12122025/01/56/image_12122025_01_56_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:08:02.804547 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/07/image_12122025_02_07_14_9593.jpg', 2), ('/home/nano/Desktop/images/12122025/02/06/image_12122025_02_07_05_10610.jpg', 2), ('/home/nano/Desktop/images/12122025/02/06/image_12122025_02_06_54_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/02/00/image_12122025_02_01_04_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/01/56/image_12122025_01_56_55_9582.jpg', 2), ('/home/nano/Desktop/images/12122025/01/56/image_12122025_01_56_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:08:32.433419 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/08/image_12122025_02_08_25_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/02/07/image_12122025_02_07_25_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/02/07/image_12122025_02_07_14_9593.jpg', 2), ('/home/nano/Desktop/images/12122025/02/06/image_12122025_02_07_05_10610.jpg', 2), ('/home/nano/Desktop/images/12122025/02/06/image_12122025_02_06_54_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/02/00/image_12122025_02_01_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:09:03.250718 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/08/image_12122025_02_08_25_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/02/07/image_12122025_02_07_25_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/02/07/image_12122025_02_07_14_9593.jpg', 2), ('/home/nano/Desktop/images/12122025/02/06/image_12122025_02_07_05_10610.jpg', 2), ('/home/nano/Desktop/images/12122025/02/06/image_12122025_02_06_54_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/02/00/image_12122025_02_01_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:09:32.583789 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/09/image_12122025_02_09_44_9590.jpg', 2), ('/home/nano/Desktop/images/12122025/02/09/image_12122025_02_09_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/02/08/image_12122025_02_08_34_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/02/08/image_12122025_02_08_25_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/02/07/image_12122025_02_07_25_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/02/07/image_12122025_02_07_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:10:02.959161 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/09/image_12122025_02_09_44_9590.jpg', 2), ('/home/nano/Desktop/images/12122025/02/09/image_12122025_02_09_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/02/08/image_12122025_02_08_34_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/02/08/image_12122025_02_08_25_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/02/07/image_12122025_02_07_25_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/02/07/image_12122025_02_07_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:10:32.643584 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/10/image_12122025_02_10_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/02/09/image_12122025_02_09_55_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/02/09/image_12122025_02_09_44_9590.jpg', 2), ('/home/nano/Desktop/images/12122025/02/09/image_12122025_02_09_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/02/08/image_12122025_02_08_34_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/02/08/image_12122025_02_08_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:11:03.267862 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/10/image_12122025_02_10_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/02/09/image_12122025_02_09_55_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/02/09/image_12122025_02_09_44_9590.jpg', 2), ('/home/nano/Desktop/images/12122025/02/09/image_12122025_02_09_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/02/08/image_12122025_02_08_34_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/02/08/image_12122025_02_08_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:11:32.737089 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/11/image_12122025_02_11_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/02/11/image_12122025_02_11_15_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/02/10/image_12122025_02_10_34_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/02/10/image_12122025_02_10_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/02/09/image_12122025_02_09_55_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/02/09/image_12122025_02_09_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:12:02.260925 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/11/image_12122025_02_11_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/02/11/image_12122025_02_11_15_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/02/10/image_12122025_02_10_34_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/02/10/image_12122025_02_10_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/02/09/image_12122025_02_09_55_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/02/09/image_12122025_02_09_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:12:31.878000 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/11/image_12122025_02_11_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/02/11/image_12122025_02_11_15_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/02/10/image_12122025_02_10_34_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/02/10/image_12122025_02_10_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/02/09/image_12122025_02_09_55_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/02/09/image_12122025_02_09_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:13:02.390720 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/11/image_12122025_02_11_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/02/11/image_12122025_02_11_15_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/02/10/image_12122025_02_10_34_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/02/10/image_12122025_02_10_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/02/09/image_12122025_02_09_55_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/02/09/image_12122025_02_09_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:13:31.935482 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/13/image_12122025_02_13_45_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/02/13/image_12122025_02_13_15_10602.jpg', 2), ('/home/nano/Desktop/images/12122025/02/12/image_12122025_02_13_04_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/02/11/image_12122025_02_11_54_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/02/11/image_12122025_02_11_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/02/11/image_12122025_02_11_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:14:02.564324 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/13/image_12122025_02_13_45_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/02/13/image_12122025_02_13_15_10602.jpg', 2), ('/home/nano/Desktop/images/12122025/02/12/image_12122025_02_13_04_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/02/11/image_12122025_02_11_54_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/02/11/image_12122025_02_11_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/02/11/image_12122025_02_11_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:14:32.083056 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/13/image_12122025_02_14_05_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/02/13/image_12122025_02_13_54_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/02/13/image_12122025_02_13_45_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/02/13/image_12122025_02_13_15_10602.jpg', 2), ('/home/nano/Desktop/images/12122025/02/12/image_12122025_02_13_04_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/02/11/image_12122025_02_11_54_9584.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:15:02.617280 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/13/image_12122025_02_14_05_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/02/13/image_12122025_02_13_54_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/02/13/image_12122025_02_13_45_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/02/13/image_12122025_02_13_15_10602.jpg', 2), ('/home/nano/Desktop/images/12122025/02/12/image_12122025_02_13_04_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/02/11/image_12122025_02_11_54_9584.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:15:32.141454 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/14/image_12122025_02_14_35_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/02/13/image_12122025_02_14_05_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/02/13/image_12122025_02_13_54_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/02/13/image_12122025_02_13_45_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/02/13/image_12122025_02_13_15_10602.jpg', 2), ('/home/nano/Desktop/images/12122025/02/12/image_12122025_02_13_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:16:02.636762 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/14/image_12122025_02_14_35_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/02/13/image_12122025_02_14_05_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/02/13/image_12122025_02_13_54_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/02/13/image_12122025_02_13_45_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/02/13/image_12122025_02_13_15_10602.jpg', 2), ('/home/nano/Desktop/images/12122025/02/12/image_12122025_02_13_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:16:32.234147 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/16/image_12122025_02_16_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/02/15/image_12122025_02_15_14_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/02/14/image_12122025_02_14_35_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/02/13/image_12122025_02_14_05_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/02/13/image_12122025_02_13_54_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/02/13/image_12122025_02_13_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:17:02.803166 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/16/image_12122025_02_16_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/02/15/image_12122025_02_15_14_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/02/14/image_12122025_02_14_35_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/02/13/image_12122025_02_14_05_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/02/13/image_12122025_02_13_54_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/02/13/image_12122025_02_13_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:17:32.384682 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/16/image_12122025_02_16_54_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/16/image_12122025_02_16_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/02/15/image_12122025_02_15_14_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/02/14/image_12122025_02_14_35_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/02/13/image_12122025_02_14_05_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/02/13/image_12122025_02_13_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:18:02.811448 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/16/image_12122025_02_16_54_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/16/image_12122025_02_16_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/02/15/image_12122025_02_15_14_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/02/14/image_12122025_02_14_35_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/02/13/image_12122025_02_14_05_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/02/13/image_12122025_02_13_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:18:32.439490 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/18/image_12122025_02_18_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/18/image_12122025_02_18_25_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/18/image_12122025_02_18_15_10610.jpg', 2), ('/home/nano/Desktop/images/12122025/02/17/image_12122025_02_17_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/02/16/image_12122025_02_16_54_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/16/image_12122025_02_16_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:19:03.351133 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/19/image_12122025_02_19_24_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/02/18/image_12122025_02_18_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/18/image_12122025_02_18_25_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/18/image_12122025_02_18_15_10610.jpg', 2), ('/home/nano/Desktop/images/12122025/02/17/image_12122025_02_17_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/02/16/image_12122025_02_16_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:19:32.601280 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/19/image_12122025_02_19_24_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/02/19/image_12122025_02_19_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/02/18/image_12122025_02_19_05_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/02/18/image_12122025_02_18_54_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/02/18/image_12122025_02_18_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/18/image_12122025_02_18_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:20:03.043991 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/19/image_12122025_02_19_24_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/02/19/image_12122025_02_19_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/02/18/image_12122025_02_19_05_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/02/18/image_12122025_02_18_54_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/02/18/image_12122025_02_18_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/18/image_12122025_02_18_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:20:32.687939 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/20/image_12122025_02_20_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/02/19/image_12122025_02_19_35_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/02/19/image_12122025_02_19_24_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/02/19/image_12122025_02_19_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/02/18/image_12122025_02_19_05_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/02/18/image_12122025_02_18_54_9585.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:21:02.315031 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/20/image_12122025_02_20_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/02/19/image_12122025_02_19_35_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/02/19/image_12122025_02_19_24_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/02/19/image_12122025_02_19_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/02/18/image_12122025_02_19_05_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/02/18/image_12122025_02_18_54_9585.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:21:31.784793 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/20/image_12122025_02_20_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/02/19/image_12122025_02_19_35_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/02/19/image_12122025_02_19_24_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/02/19/image_12122025_02_19_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/02/18/image_12122025_02_19_05_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/02/18/image_12122025_02_18_54_9585.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:22:02.207234 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/20/image_12122025_02_20_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/02/19/image_12122025_02_19_35_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/02/19/image_12122025_02_19_24_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/02/19/image_12122025_02_19_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/02/18/image_12122025_02_19_05_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/02/18/image_12122025_02_18_54_9585.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:22:31.874986 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/20/image_12122025_02_20_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/02/19/image_12122025_02_19_35_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/02/19/image_12122025_02_19_24_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/02/19/image_12122025_02_19_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/02/18/image_12122025_02_19_05_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/02/18/image_12122025_02_18_54_9585.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:23:02.546406 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/20/image_12122025_02_20_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/02/19/image_12122025_02_19_35_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/02/19/image_12122025_02_19_24_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/02/19/image_12122025_02_19_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/02/18/image_12122025_02_19_05_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/02/18/image_12122025_02_18_54_9585.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:23:31.964189 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/20/image_12122025_02_20_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/02/19/image_12122025_02_19_35_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/02/19/image_12122025_02_19_24_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/02/19/image_12122025_02_19_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/02/18/image_12122025_02_19_05_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/02/18/image_12122025_02_18_54_9585.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:24:02.617190 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/20/image_12122025_02_20_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/02/19/image_12122025_02_19_35_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/02/19/image_12122025_02_19_24_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/02/19/image_12122025_02_19_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/02/18/image_12122025_02_19_05_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/02/18/image_12122025_02_18_54_9585.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:24:32.096432 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/20/image_12122025_02_20_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/02/19/image_12122025_02_19_35_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/02/19/image_12122025_02_19_24_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/02/19/image_12122025_02_19_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/02/18/image_12122025_02_19_05_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/02/18/image_12122025_02_18_54_9585.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:25:02.791179 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/20/image_12122025_02_20_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/02/19/image_12122025_02_19_35_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/02/19/image_12122025_02_19_24_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/02/19/image_12122025_02_19_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/02/18/image_12122025_02_19_05_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/02/18/image_12122025_02_18_54_9585.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:25:32.174003 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/25/image_12122025_02_25_15_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/02/20/image_12122025_02_20_54_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/02/20/image_12122025_02_20_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/02/19/image_12122025_02_19_35_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/02/19/image_12122025_02_19_24_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/02/19/image_12122025_02_19_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:26:02.666910 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/25/image_12122025_02_25_15_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/02/20/image_12122025_02_20_54_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/02/20/image_12122025_02_20_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/02/19/image_12122025_02_19_35_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/02/19/image_12122025_02_19_24_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/02/19/image_12122025_02_19_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:26:32.340065 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/25/image_12122025_02_25_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/25/image_12122025_02_25_15_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/02/20/image_12122025_02_20_54_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/02/20/image_12122025_02_20_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/02/19/image_12122025_02_19_35_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/02/19/image_12122025_02_19_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:27:02.789340 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/25/image_12122025_02_25_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/25/image_12122025_02_25_15_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/02/20/image_12122025_02_20_54_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/02/20/image_12122025_02_20_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/02/19/image_12122025_02_19_35_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/02/19/image_12122025_02_19_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:27:32.484408 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/27/image_12122025_02_27_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/27/image_12122025_02_27_25_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/02/27/image_12122025_02_27_15_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/02/26/image_12122025_02_26_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/02/25/image_12122025_02_25_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/25/image_12122025_02_25_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:28:02.850102 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/28/image_12122025_02_28_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/02/27/image_12122025_02_27_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/27/image_12122025_02_27_25_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/02/27/image_12122025_02_27_15_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/02/26/image_12122025_02_26_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/02/25/image_12122025_02_25_34_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:28:32.535930 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/28/image_12122025_02_28_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/02/28/image_12122025_02_28_15_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/02/27/image_12122025_02_27_54_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/02/27/image_12122025_02_27_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/27/image_12122025_02_27_25_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/02/27/image_12122025_02_27_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:29:03.502603 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/28/image_12122025_02_28_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/02/28/image_12122025_02_28_15_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/02/27/image_12122025_02_27_54_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/02/27/image_12122025_02_27_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/27/image_12122025_02_27_25_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/02/27/image_12122025_02_27_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:29:32.642246 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/28/image_12122025_02_28_55_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/02/28/image_12122025_02_28_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/02/28/image_12122025_02_28_15_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/02/27/image_12122025_02_27_54_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/02/27/image_12122025_02_27_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/27/image_12122025_02_27_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:30:03.084065 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/28/image_12122025_02_28_55_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/02/28/image_12122025_02_28_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/02/28/image_12122025_02_28_15_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/02/27/image_12122025_02_27_54_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/02/27/image_12122025_02_27_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/27/image_12122025_02_27_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:30:32.742431 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/28/image_12122025_02_28_55_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/02/28/image_12122025_02_28_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/02/28/image_12122025_02_28_15_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/02/27/image_12122025_02_27_54_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/02/27/image_12122025_02_27_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/27/image_12122025_02_27_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:31:02.376538 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/28/image_12122025_02_28_55_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/02/28/image_12122025_02_28_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/02/28/image_12122025_02_28_15_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/02/27/image_12122025_02_27_54_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/02/27/image_12122025_02_27_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/27/image_12122025_02_27_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:31:31.837694 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/28/image_12122025_02_28_55_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/02/28/image_12122025_02_28_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/02/28/image_12122025_02_28_15_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/02/27/image_12122025_02_27_54_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/02/27/image_12122025_02_27_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/27/image_12122025_02_27_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:32:02.370145 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/28/image_12122025_02_28_55_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/02/28/image_12122025_02_28_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/02/28/image_12122025_02_28_15_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/02/27/image_12122025_02_27_54_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/02/27/image_12122025_02_27_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/27/image_12122025_02_27_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:32:31.938658 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/28/image_12122025_02_28_55_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/02/28/image_12122025_02_28_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/02/28/image_12122025_02_28_15_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/02/27/image_12122025_02_27_54_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/02/27/image_12122025_02_27_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/27/image_12122025_02_27_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:33:02.506598 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/28/image_12122025_02_28_55_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/02/28/image_12122025_02_28_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/02/28/image_12122025_02_28_15_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/02/27/image_12122025_02_27_54_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/02/27/image_12122025_02_27_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/27/image_12122025_02_27_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:33:32.012445 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/32/image_12122025_02_33_05_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/02/29/image_12122025_02_29_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/02/28/image_12122025_02_28_55_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/02/28/image_12122025_02_28_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/02/28/image_12122025_02_28_15_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/02/27/image_12122025_02_27_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:34:02.696030 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/32/image_12122025_02_33_05_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/02/29/image_12122025_02_29_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/02/28/image_12122025_02_28_55_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/02/28/image_12122025_02_28_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/02/28/image_12122025_02_28_15_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/02/27/image_12122025_02_27_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:34:32.149279 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/33/image_12122025_02_33_15_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/02/32/image_12122025_02_33_05_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/02/29/image_12122025_02_29_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/02/28/image_12122025_02_28_55_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/02/28/image_12122025_02_28_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/02/28/image_12122025_02_28_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:35:02.665405 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/33/image_12122025_02_33_15_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/02/32/image_12122025_02_33_05_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/02/29/image_12122025_02_29_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/02/28/image_12122025_02_28_55_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/02/28/image_12122025_02_28_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/02/28/image_12122025_02_28_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:35:32.212267 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/35/image_12122025_02_35_15_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/02/34/image_12122025_02_35_04_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/02/34/image_12122025_02_34_55_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/02/33/image_12122025_02_33_15_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/02/32/image_12122025_02_33_05_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/02/29/image_12122025_02_29_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:36:02.680340 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/35/image_12122025_02_35_15_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/02/34/image_12122025_02_35_04_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/02/34/image_12122025_02_34_55_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/02/33/image_12122025_02_33_15_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/02/32/image_12122025_02_33_05_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/02/29/image_12122025_02_29_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:36:32.334956 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/36/image_12122025_02_36_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/02/36/image_12122025_02_36_14_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/02/35/image_12122025_02_36_05_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/02/35/image_12122025_02_35_24_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/02/35/image_12122025_02_35_15_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/02/34/image_12122025_02_35_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:37:02.909186 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/36/image_12122025_02_36_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/02/36/image_12122025_02_36_14_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/02/35/image_12122025_02_36_05_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/02/35/image_12122025_02_35_24_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/02/35/image_12122025_02_35_15_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/02/34/image_12122025_02_35_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:37:32.441494 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/37/image_12122025_02_37_45_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/02/36/image_12122025_02_36_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/02/36/image_12122025_02_36_14_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/02/35/image_12122025_02_36_05_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/02/35/image_12122025_02_35_24_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/02/35/image_12122025_02_35_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:38:02.933484 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/37/image_12122025_02_37_45_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/02/36/image_12122025_02_36_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/02/36/image_12122025_02_36_14_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/02/35/image_12122025_02_36_05_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/02/35/image_12122025_02_35_24_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/02/35/image_12122025_02_35_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:38:32.509681 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/37/image_12122025_02_37_45_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/02/36/image_12122025_02_36_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/02/36/image_12122025_02_36_14_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/02/35/image_12122025_02_36_05_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/02/35/image_12122025_02_35_24_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/02/35/image_12122025_02_35_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:39:03.312624 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/37/image_12122025_02_37_45_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/02/36/image_12122025_02_36_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/02/36/image_12122025_02_36_14_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/02/35/image_12122025_02_36_05_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/02/35/image_12122025_02_35_24_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/02/35/image_12122025_02_35_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:39:32.639419 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/39/image_12122025_02_39_34_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/02/39/image_12122025_02_39_15_10610.jpg', 2), ('/home/nano/Desktop/images/12122025/02/38/image_12122025_02_39_04_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/02/37/image_12122025_02_37_45_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/02/36/image_12122025_02_36_55_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/02/36/image_12122025_02_36_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:40:03.102937 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/39/image_12122025_02_39_34_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/02/39/image_12122025_02_39_15_10610.jpg', 2), ('/home/nano/Desktop/images/12122025/02/38/image_12122025_02_39_04_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/02/37/image_12122025_02_37_45_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/02/36/image_12122025_02_36_55_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/02/36/image_12122025_02_36_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:40:32.705190 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/40/image_12122025_02_40_44_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/02/39/image_12122025_02_39_45_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/02/39/image_12122025_02_39_34_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/02/39/image_12122025_02_39_15_10610.jpg', 2), ('/home/nano/Desktop/images/12122025/02/38/image_12122025_02_39_04_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/02/37/image_12122025_02_37_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:41:02.318093 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/40/image_12122025_02_40_44_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/02/39/image_12122025_02_39_45_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/02/39/image_12122025_02_39_34_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/02/39/image_12122025_02_39_15_10610.jpg', 2), ('/home/nano/Desktop/images/12122025/02/38/image_12122025_02_39_04_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/02/37/image_12122025_02_37_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:41:31.862964 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/41/image_12122025_02_41_45_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/02/40/image_12122025_02_40_55_10599.jpg', 2), ('/home/nano/Desktop/images/12122025/02/40/image_12122025_02_40_44_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/02/39/image_12122025_02_39_45_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/02/39/image_12122025_02_39_34_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/02/39/image_12122025_02_39_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:42:02.163752 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/41/image_12122025_02_41_45_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/02/40/image_12122025_02_40_55_10599.jpg', 2), ('/home/nano/Desktop/images/12122025/02/40/image_12122025_02_40_44_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/02/39/image_12122025_02_39_45_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/02/39/image_12122025_02_39_34_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/02/39/image_12122025_02_39_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:42:31.969056 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/41/image_12122025_02_41_45_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/02/40/image_12122025_02_40_55_10599.jpg', 2), ('/home/nano/Desktop/images/12122025/02/40/image_12122025_02_40_44_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/02/39/image_12122025_02_39_45_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/02/39/image_12122025_02_39_34_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/02/39/image_12122025_02_39_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:43:02.535410 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/41/image_12122025_02_41_45_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/02/40/image_12122025_02_40_55_10599.jpg', 2), ('/home/nano/Desktop/images/12122025/02/40/image_12122025_02_40_44_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/02/39/image_12122025_02_39_45_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/02/39/image_12122025_02_39_34_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/02/39/image_12122025_02_39_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:43:32.050286 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/41/image_12122025_02_41_45_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/02/40/image_12122025_02_40_55_10599.jpg', 2), ('/home/nano/Desktop/images/12122025/02/40/image_12122025_02_40_44_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/02/39/image_12122025_02_39_45_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/02/39/image_12122025_02_39_34_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/02/39/image_12122025_02_39_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:44:02.689404 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/41/image_12122025_02_41_45_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/02/40/image_12122025_02_40_55_10599.jpg', 2), ('/home/nano/Desktop/images/12122025/02/40/image_12122025_02_40_44_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/02/39/image_12122025_02_39_45_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/02/39/image_12122025_02_39_34_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/02/39/image_12122025_02_39_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:44:32.178129 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/41/image_12122025_02_41_45_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/02/40/image_12122025_02_40_55_10599.jpg', 2), ('/home/nano/Desktop/images/12122025/02/40/image_12122025_02_40_44_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/02/39/image_12122025_02_39_45_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/02/39/image_12122025_02_39_34_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/02/39/image_12122025_02_39_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:45:02.690537 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/41/image_12122025_02_41_45_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/02/40/image_12122025_02_40_55_10599.jpg', 2), ('/home/nano/Desktop/images/12122025/02/40/image_12122025_02_40_44_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/02/39/image_12122025_02_39_45_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/02/39/image_12122025_02_39_34_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/02/39/image_12122025_02_39_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:45:32.262803 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/45/image_12122025_02_45_44_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/02/41/image_12122025_02_41_55_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/02/41/image_12122025_02_41_45_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/02/40/image_12122025_02_40_55_10599.jpg', 2), ('/home/nano/Desktop/images/12122025/02/40/image_12122025_02_40_44_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/02/39/image_12122025_02_39_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:46:02.693367 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/45/image_12122025_02_45_44_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/02/41/image_12122025_02_41_55_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/02/41/image_12122025_02_41_45_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/02/40/image_12122025_02_40_55_10599.jpg', 2), ('/home/nano/Desktop/images/12122025/02/40/image_12122025_02_40_44_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/02/39/image_12122025_02_39_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:46:32.329960 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/46/image_12122025_02_46_54_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/45/image_12122025_02_45_44_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/02/41/image_12122025_02_41_55_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/02/41/image_12122025_02_41_45_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/02/40/image_12122025_02_40_55_10599.jpg', 2), ('/home/nano/Desktop/images/12122025/02/40/image_12122025_02_40_44_9585.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:47:02.950669 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/46/image_12122025_02_46_54_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/45/image_12122025_02_45_44_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/02/41/image_12122025_02_41_55_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/02/41/image_12122025_02_41_45_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/02/40/image_12122025_02_40_55_10599.jpg', 2), ('/home/nano/Desktop/images/12122025/02/40/image_12122025_02_40_44_9585.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:47:32.436176 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/46/image_12122025_02_46_54_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/45/image_12122025_02_45_44_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/02/41/image_12122025_02_41_55_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/02/41/image_12122025_02_41_45_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/02/40/image_12122025_02_40_55_10599.jpg', 2), ('/home/nano/Desktop/images/12122025/02/40/image_12122025_02_40_44_9585.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:48:02.899403 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/46/image_12122025_02_46_54_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/45/image_12122025_02_45_44_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/02/41/image_12122025_02_41_55_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/02/41/image_12122025_02_41_45_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/02/40/image_12122025_02_40_55_10599.jpg', 2), ('/home/nano/Desktop/images/12122025/02/40/image_12122025_02_40_44_9585.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:48:32.513293 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/46/image_12122025_02_46_54_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/45/image_12122025_02_45_44_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/02/41/image_12122025_02_41_55_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/02/41/image_12122025_02_41_45_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/02/40/image_12122025_02_40_55_10599.jpg', 2), ('/home/nano/Desktop/images/12122025/02/40/image_12122025_02_40_44_9585.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:49:03.303623 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/46/image_12122025_02_46_54_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/45/image_12122025_02_45_44_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/02/41/image_12122025_02_41_55_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/02/41/image_12122025_02_41_45_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/02/40/image_12122025_02_40_55_10599.jpg', 2), ('/home/nano/Desktop/images/12122025/02/40/image_12122025_02_40_44_9585.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:49:32.606339 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/46/image_12122025_02_46_54_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/45/image_12122025_02_45_44_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/02/41/image_12122025_02_41_55_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/02/41/image_12122025_02_41_45_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/02/40/image_12122025_02_40_55_10599.jpg', 2), ('/home/nano/Desktop/images/12122025/02/40/image_12122025_02_40_44_9585.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:50:03.097718 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/46/image_12122025_02_46_54_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/45/image_12122025_02_45_44_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/02/41/image_12122025_02_41_55_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/02/41/image_12122025_02_41_45_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/02/40/image_12122025_02_40_55_10599.jpg', 2), ('/home/nano/Desktop/images/12122025/02/40/image_12122025_02_40_44_9585.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:50:32.716599 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/50/image_12122025_02_50_44_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/46/image_12122025_02_46_54_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/45/image_12122025_02_45_55_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/02/45/image_12122025_02_45_44_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/02/41/image_12122025_02_41_55_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/02/41/image_12122025_02_41_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:51:02.315728 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/50/image_12122025_02_50_44_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/46/image_12122025_02_46_54_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/45/image_12122025_02_45_55_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/02/45/image_12122025_02_45_44_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/02/41/image_12122025_02_41_55_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/02/41/image_12122025_02_41_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:51:31.794042 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/51/image_12122025_02_51_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/51/image_12122025_02_51_25_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/02/50/image_12122025_02_50_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/02/50/image_12122025_02_50_44_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/46/image_12122025_02_46_54_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/45/image_12122025_02_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:52:02.231074 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/51/image_12122025_02_51_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/51/image_12122025_02_51_25_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/02/50/image_12122025_02_50_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/02/50/image_12122025_02_50_44_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/46/image_12122025_02_46_54_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/45/image_12122025_02_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:52:31.898563 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/51/image_12122025_02_51_54_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/02/51/image_12122025_02_51_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/51/image_12122025_02_51_25_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/02/50/image_12122025_02_50_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/02/50/image_12122025_02_50_44_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/46/image_12122025_02_46_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:53:02.536178 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/51/image_12122025_02_51_54_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/02/51/image_12122025_02_51_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/51/image_12122025_02_51_25_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/02/50/image_12122025_02_50_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/02/50/image_12122025_02_50_44_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/46/image_12122025_02_46_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:53:31.995350 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/51/image_12122025_02_51_54_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/02/51/image_12122025_02_51_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/51/image_12122025_02_51_25_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/02/50/image_12122025_02_50_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/02/50/image_12122025_02_50_44_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/46/image_12122025_02_46_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:54:02.732246 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/51/image_12122025_02_51_54_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/02/51/image_12122025_02_51_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/51/image_12122025_02_51_25_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/02/50/image_12122025_02_50_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/02/50/image_12122025_02_50_44_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/46/image_12122025_02_46_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:54:32.101282 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/51/image_12122025_02_51_54_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/02/51/image_12122025_02_51_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/51/image_12122025_02_51_25_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/02/50/image_12122025_02_50_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/02/50/image_12122025_02_50_44_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/46/image_12122025_02_46_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:55:02.731052 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/51/image_12122025_02_51_54_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/02/51/image_12122025_02_51_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/51/image_12122025_02_51_25_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/02/50/image_12122025_02_50_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/02/50/image_12122025_02_50_44_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/46/image_12122025_02_46_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:55:32.177174 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/51/image_12122025_02_51_54_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/02/51/image_12122025_02_51_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/51/image_12122025_02_51_25_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/02/50/image_12122025_02_50_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/02/50/image_12122025_02_50_44_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/46/image_12122025_02_46_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:56:02.711437 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/51/image_12122025_02_51_54_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/02/51/image_12122025_02_51_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/51/image_12122025_02_51_25_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/02/50/image_12122025_02_50_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/02/50/image_12122025_02_50_44_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/46/image_12122025_02_46_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:56:32.368392 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/51/image_12122025_02_51_54_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/02/51/image_12122025_02_51_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/51/image_12122025_02_51_25_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/02/50/image_12122025_02_50_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/02/50/image_12122025_02_50_44_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/46/image_12122025_02_46_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:57:03.039151 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/51/image_12122025_02_51_54_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/02/51/image_12122025_02_51_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/51/image_12122025_02_51_25_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/02/50/image_12122025_02_50_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/02/50/image_12122025_02_50_44_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/46/image_12122025_02_46_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:57:32.471763 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/57/image_12122025_02_57_25_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/02/51/image_12122025_02_52_05_10604.jpg', 2), ('/home/nano/Desktop/images/12122025/02/51/image_12122025_02_51_54_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/02/51/image_12122025_02_51_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/51/image_12122025_02_51_25_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/02/50/image_12122025_02_50_55_10596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:58:02.869129 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/57/image_12122025_02_57_25_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/02/51/image_12122025_02_52_05_10604.jpg', 2), ('/home/nano/Desktop/images/12122025/02/51/image_12122025_02_51_54_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/02/51/image_12122025_02_51_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/51/image_12122025_02_51_25_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/02/50/image_12122025_02_50_55_10596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:59:03.177485 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/57/image_12122025_02_57_25_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/02/51/image_12122025_02_52_05_10604.jpg', 2), ('/home/nano/Desktop/images/12122025/02/51/image_12122025_02_51_54_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/02/51/image_12122025_02_51_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/51/image_12122025_02_51_25_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/02/50/image_12122025_02_50_55_10596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 02:59:32.349870 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/57/image_12122025_02_57_35_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/57/image_12122025_02_57_25_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/02/51/image_12122025_02_52_05_10604.jpg', 2), ('/home/nano/Desktop/images/12122025/02/51/image_12122025_02_51_54_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/02/51/image_12122025_02_51_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/51/image_12122025_02_51_25_9584.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:00:02.841893 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/02/57/image_12122025_02_57_35_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/57/image_12122025_02_57_25_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/02/51/image_12122025_02_52_05_10604.jpg', 2), ('/home/nano/Desktop/images/12122025/02/51/image_12122025_02_51_54_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/02/51/image_12122025_02_51_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/51/image_12122025_02_51_25_9584.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:00:32.437471 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/00/image_12122025_03_00_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/02/59/image_12122025_03_00_05_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/02/59/image_12122025_02_59_55_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/02/57/image_12122025_02_57_35_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/57/image_12122025_02_57_25_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/02/51/image_12122025_02_52_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:01:03.094784 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/00/image_12122025_03_00_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/02/59/image_12122025_03_00_05_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/02/59/image_12122025_02_59_55_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/02/57/image_12122025_02_57_35_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/57/image_12122025_02_57_25_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/02/51/image_12122025_02_52_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:01:32.551414 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/00/image_12122025_03_00_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/02/59/image_12122025_03_00_05_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/02/59/image_12122025_02_59_55_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/02/57/image_12122025_02_57_35_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/57/image_12122025_02_57_25_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/02/51/image_12122025_02_52_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:02:02.977528 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/00/image_12122025_03_00_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/02/59/image_12122025_03_00_05_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/02/59/image_12122025_02_59_55_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/02/57/image_12122025_02_57_35_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/57/image_12122025_02_57_25_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/02/51/image_12122025_02_52_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:02:32.651370 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/00/image_12122025_03_00_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/02/59/image_12122025_03_00_05_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/02/59/image_12122025_02_59_55_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/02/57/image_12122025_02_57_35_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/57/image_12122025_02_57_25_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/02/51/image_12122025_02_52_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:03:03.074373 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/00/image_12122025_03_00_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/02/59/image_12122025_03_00_05_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/02/59/image_12122025_02_59_55_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/02/57/image_12122025_02_57_35_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/57/image_12122025_02_57_25_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/02/51/image_12122025_02_52_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:03:32.736995 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/00/image_12122025_03_00_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/02/59/image_12122025_03_00_05_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/02/59/image_12122025_02_59_55_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/02/57/image_12122025_02_57_35_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/57/image_12122025_02_57_25_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/02/51/image_12122025_02_52_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:04:02.511227 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/00/image_12122025_03_00_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/02/59/image_12122025_03_00_05_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/02/59/image_12122025_02_59_55_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/02/57/image_12122025_02_57_35_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/57/image_12122025_02_57_25_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/02/51/image_12122025_02_52_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:04:31.827622 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/00/image_12122025_03_00_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/02/59/image_12122025_03_00_05_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/02/59/image_12122025_02_59_55_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/02/57/image_12122025_02_57_35_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/57/image_12122025_02_57_25_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/02/51/image_12122025_02_52_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:05:02.489807 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/00/image_12122025_03_00_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/02/59/image_12122025_03_00_05_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/02/59/image_12122025_02_59_55_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/02/57/image_12122025_02_57_35_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/57/image_12122025_02_57_25_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/02/51/image_12122025_02_52_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:05:31.940143 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/00/image_12122025_03_00_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/02/59/image_12122025_03_00_05_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/02/59/image_12122025_02_59_55_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/02/57/image_12122025_02_57_35_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/57/image_12122025_02_57_25_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/02/51/image_12122025_02_52_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:06:02.338553 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/00/image_12122025_03_00_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/02/59/image_12122025_03_00_05_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/02/59/image_12122025_02_59_55_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/02/57/image_12122025_02_57_35_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/57/image_12122025_02_57_25_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/02/51/image_12122025_02_52_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:06:32.051831 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/00/image_12122025_03_00_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/02/59/image_12122025_03_00_05_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/02/59/image_12122025_02_59_55_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/02/57/image_12122025_02_57_35_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/57/image_12122025_02_57_25_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/02/51/image_12122025_02_52_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:07:02.682591 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/00/image_12122025_03_00_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/02/59/image_12122025_03_00_05_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/02/59/image_12122025_02_59_55_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/02/57/image_12122025_02_57_35_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/57/image_12122025_02_57_25_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/02/51/image_12122025_02_52_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:07:32.123886 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/00/image_12122025_03_00_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/02/59/image_12122025_03_00_05_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/02/59/image_12122025_02_59_55_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/02/57/image_12122025_02_57_35_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/57/image_12122025_02_57_25_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/02/51/image_12122025_02_52_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:08:02.541364 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/00/image_12122025_03_00_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/02/59/image_12122025_03_00_05_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/02/59/image_12122025_02_59_55_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/02/57/image_12122025_02_57_35_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/57/image_12122025_02_57_25_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/02/51/image_12122025_02_52_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:08:32.253324 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/00/image_12122025_03_00_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/02/59/image_12122025_03_00_05_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/02/59/image_12122025_02_59_55_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/02/57/image_12122025_02_57_35_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/57/image_12122025_02_57_25_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/02/51/image_12122025_02_52_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:09:03.162975 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/00/image_12122025_03_00_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/02/59/image_12122025_03_00_05_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/02/59/image_12122025_02_59_55_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/02/57/image_12122025_02_57_35_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/02/57/image_12122025_02_57_25_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/02/51/image_12122025_02_52_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:09:32.361803 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/08/image_12122025_03_09_05_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/03/00/image_12122025_03_00_45_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/03/00/image_12122025_03_00_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/02/59/image_12122025_03_00_05_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/02/59/image_12122025_02_59_55_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/02/57/image_12122025_02_57_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:10:02.835631 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/08/image_12122025_03_09_05_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/03/00/image_12122025_03_00_45_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/03/00/image_12122025_03_00_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/02/59/image_12122025_03_00_05_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/02/59/image_12122025_02_59_55_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/02/57/image_12122025_02_57_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:10:32.495796 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/08/image_12122025_03_09_05_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/03/00/image_12122025_03_00_45_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/03/00/image_12122025_03_00_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/02/59/image_12122025_03_00_05_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/02/59/image_12122025_02_59_55_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/02/57/image_12122025_02_57_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:11:03.116963 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/08/image_12122025_03_09_05_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/03/00/image_12122025_03_00_45_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/03/00/image_12122025_03_00_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/02/59/image_12122025_03_00_05_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/02/59/image_12122025_02_59_55_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/02/57/image_12122025_02_57_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:11:32.597759 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/08/image_12122025_03_09_05_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/03/00/image_12122025_03_00_45_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/03/00/image_12122025_03_00_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/02/59/image_12122025_03_00_05_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/02/59/image_12122025_02_59_55_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/02/57/image_12122025_02_57_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:12:03.029021 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/08/image_12122025_03_09_05_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/03/00/image_12122025_03_00_45_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/03/00/image_12122025_03_00_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/02/59/image_12122025_03_00_05_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/02/59/image_12122025_02_59_55_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/02/57/image_12122025_02_57_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:12:32.709758 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/09/image_12122025_03_09_14_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/03/08/image_12122025_03_09_05_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/03/00/image_12122025_03_00_45_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/03/00/image_12122025_03_00_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/02/59/image_12122025_03_00_05_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/02/59/image_12122025_02_59_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:13:02.253698 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/09/image_12122025_03_09_14_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/03/08/image_12122025_03_09_05_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/03/00/image_12122025_03_00_45_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/03/00/image_12122025_03_00_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/02/59/image_12122025_03_00_05_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/02/59/image_12122025_02_59_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:13:31.801098 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/13/image_12122025_03_13_35_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/03/13/image_12122025_03_13_15_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/03/12/image_12122025_03_12_45_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/03/09/image_12122025_03_09_14_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/03/08/image_12122025_03_09_05_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/03/00/image_12122025_03_00_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:14:02.475578 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/13/image_12122025_03_13_35_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/03/13/image_12122025_03_13_15_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/03/12/image_12122025_03_12_45_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/03/09/image_12122025_03_09_14_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/03/08/image_12122025_03_09_05_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/03/00/image_12122025_03_00_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:14:31.916242 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/14/image_12122025_03_14_14_9591.jpg', 2), ('/home/nano/Desktop/images/12122025/03/13/image_12122025_03_13_44_9594.jpg', 2), ('/home/nano/Desktop/images/12122025/03/13/image_12122025_03_13_35_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/03/13/image_12122025_03_13_15_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/03/12/image_12122025_03_12_45_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/03/09/image_12122025_03_09_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:15:02.579505 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/14/image_12122025_03_14_14_9591.jpg', 2), ('/home/nano/Desktop/images/12122025/03/13/image_12122025_03_13_44_9594.jpg', 2), ('/home/nano/Desktop/images/12122025/03/13/image_12122025_03_13_35_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/03/13/image_12122025_03_13_15_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/03/12/image_12122025_03_12_45_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/03/09/image_12122025_03_09_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:15:32.075661 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_45_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_35_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_24_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_15_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/03/14/image_12122025_03_15_04_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/03/14/image_12122025_03_14_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:16:02.438146 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_45_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_35_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_24_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_15_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/03/14/image_12122025_03_15_04_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/03/14/image_12122025_03_14_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:16:32.167061 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_45_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_35_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_24_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_15_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/03/14/image_12122025_03_15_04_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/03/14/image_12122025_03_14_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:17:02.831561 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_45_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_35_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_24_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_15_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/03/14/image_12122025_03_15_04_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/03/14/image_12122025_03_14_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:17:32.433700 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_45_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_35_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_24_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_15_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/03/14/image_12122025_03_15_04_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/03/14/image_12122025_03_14_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:18:02.742719 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_45_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_35_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_24_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_15_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/03/14/image_12122025_03_15_04_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/03/14/image_12122025_03_14_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:18:32.423463 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_45_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_35_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_24_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_15_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/03/14/image_12122025_03_15_04_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/03/14/image_12122025_03_14_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:19:03.289405 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_45_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_35_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_24_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_15_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/03/14/image_12122025_03_15_04_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/03/14/image_12122025_03_14_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:19:32.636596 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_45_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_35_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_24_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_15_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/03/14/image_12122025_03_15_04_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/03/14/image_12122025_03_14_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:20:03.072549 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_45_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_35_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_24_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_15_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/03/14/image_12122025_03_15_04_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/03/14/image_12122025_03_14_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:20:32.643936 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_45_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_35_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_24_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_15_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/03/14/image_12122025_03_15_04_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/03/14/image_12122025_03_14_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:21:03.293758 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_45_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_35_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_24_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_15_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/03/14/image_12122025_03_15_04_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/03/14/image_12122025_03_14_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:21:32.739205 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/21/image_12122025_03_21_25_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_54_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_45_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_35_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_24_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:22:02.135911 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/21/image_12122025_03_21_25_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_54_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_45_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_35_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_24_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:22:31.853338 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/21/image_12122025_03_21_25_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_54_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_45_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_35_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_24_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:23:02.172515 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/21/image_12122025_03_21_25_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_54_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_45_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_35_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_24_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:23:31.966272 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/21/image_12122025_03_21_25_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_54_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_45_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_35_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_24_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:24:02.553672 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/21/image_12122025_03_21_25_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_54_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_45_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_35_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_24_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:24:32.064437 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/21/image_12122025_03_21_25_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_54_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_45_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_35_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_24_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:25:02.597864 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/21/image_12122025_03_21_25_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_54_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_45_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_35_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_24_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:25:32.121503 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/25/image_12122025_03_25_44_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/03/25/image_12122025_03_25_15_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/03/24/image_12122025_03_25_05_10621.jpg', 2), ('/home/nano/Desktop/images/12122025/03/21/image_12122025_03_21_34_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/03/21/image_12122025_03_21_25_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_54_9585.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:26:02.659719 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/25/image_12122025_03_25_44_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/03/25/image_12122025_03_25_15_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/03/24/image_12122025_03_25_05_10621.jpg', 2), ('/home/nano/Desktop/images/12122025/03/21/image_12122025_03_21_34_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/03/21/image_12122025_03_21_25_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/03/15/image_12122025_03_15_54_9585.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:26:32.299665 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/25/image_12122025_03_26_05_9593.jpg', 2), ('/home/nano/Desktop/images/12122025/03/25/image_12122025_03_25_55_10599.jpg', 2), ('/home/nano/Desktop/images/12122025/03/25/image_12122025_03_25_44_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/03/25/image_12122025_03_25_15_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/03/24/image_12122025_03_25_05_10621.jpg', 2), ('/home/nano/Desktop/images/12122025/03/21/image_12122025_03_21_34_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:27:02.867569 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/25/image_12122025_03_26_05_9593.jpg', 2), ('/home/nano/Desktop/images/12122025/03/25/image_12122025_03_25_55_10599.jpg', 2), ('/home/nano/Desktop/images/12122025/03/25/image_12122025_03_25_44_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/03/25/image_12122025_03_25_15_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/03/24/image_12122025_03_25_05_10621.jpg', 2), ('/home/nano/Desktop/images/12122025/03/21/image_12122025_03_21_34_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:27:32.379274 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/27/image_12122025_03_27_35_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/03/27/image_12122025_03_27_24_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/03/26/image_12122025_03_27_04_9594.jpg', 2), ('/home/nano/Desktop/images/12122025/03/26/image_12122025_03_26_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/03/25/image_12122025_03_26_05_9593.jpg', 2), ('/home/nano/Desktop/images/12122025/03/25/image_12122025_03_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:28:02.811255 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/27/image_12122025_03_27_35_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/03/27/image_12122025_03_27_24_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/03/26/image_12122025_03_27_04_9594.jpg', 2), ('/home/nano/Desktop/images/12122025/03/26/image_12122025_03_26_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/03/25/image_12122025_03_26_05_9593.jpg', 2), ('/home/nano/Desktop/images/12122025/03/25/image_12122025_03_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:28:32.474049 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/28/image_12122025_03_28_34_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/03/27/image_12122025_03_27_44_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/03/27/image_12122025_03_27_35_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/03/27/image_12122025_03_27_24_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/03/26/image_12122025_03_27_04_9594.jpg', 2), ('/home/nano/Desktop/images/12122025/03/26/image_12122025_03_26_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:29:03.323051 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/28/image_12122025_03_28_34_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/03/27/image_12122025_03_27_44_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/03/27/image_12122025_03_27_35_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/03/27/image_12122025_03_27_24_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/03/26/image_12122025_03_27_04_9594.jpg', 2), ('/home/nano/Desktop/images/12122025/03/26/image_12122025_03_26_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:29:32.589007 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/29/image_12122025_03_29_35_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/03/28/image_12122025_03_28_55_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/03/28/image_12122025_03_28_34_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/03/27/image_12122025_03_27_44_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/03/27/image_12122025_03_27_35_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/03/27/image_12122025_03_27_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:30:03.050441 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/29/image_12122025_03_29_35_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/03/28/image_12122025_03_28_55_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/03/28/image_12122025_03_28_34_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/03/27/image_12122025_03_27_44_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/03/27/image_12122025_03_27_35_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/03/27/image_12122025_03_27_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:30:32.659489 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/30/image_12122025_03_30_44_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/03/30/image_12122025_03_30_25_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/03/30/image_12122025_03_30_14_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/03/29/image_12122025_03_30_05_10610.jpg', 2), ('/home/nano/Desktop/images/12122025/03/29/image_12122025_03_29_54_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/03/29/image_12122025_03_29_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:31:02.342808 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/30/image_12122025_03_30_44_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/03/30/image_12122025_03_30_25_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/03/30/image_12122025_03_30_14_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/03/29/image_12122025_03_30_05_10610.jpg', 2), ('/home/nano/Desktop/images/12122025/03/29/image_12122025_03_29_54_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/03/29/image_12122025_03_29_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:31:31.783208 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/31/image_12122025_03_31_34_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/03/30/image_12122025_03_31_04_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/03/30/image_12122025_03_30_55_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/03/30/image_12122025_03_30_44_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/03/30/image_12122025_03_30_25_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/03/30/image_12122025_03_30_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:32:02.275088 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/31/image_12122025_03_31_34_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/03/30/image_12122025_03_31_04_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/03/30/image_12122025_03_30_55_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/03/30/image_12122025_03_30_44_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/03/30/image_12122025_03_30_25_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/03/30/image_12122025_03_30_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:32:31.882435 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/32/image_12122025_03_32_15_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/03/31/image_12122025_03_31_45_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/03/31/image_12122025_03_31_34_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/03/30/image_12122025_03_31_04_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/03/30/image_12122025_03_30_55_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/03/30/image_12122025_03_30_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:33:02.421084 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/32/image_12122025_03_32_15_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/03/31/image_12122025_03_31_45_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/03/31/image_12122025_03_31_34_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/03/30/image_12122025_03_31_04_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/03/30/image_12122025_03_30_55_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/03/30/image_12122025_03_30_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:33:31.963846 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/33/image_12122025_03_33_34_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/03/32/image_12122025_03_32_24_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/03/32/image_12122025_03_32_15_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/03/31/image_12122025_03_31_45_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/03/31/image_12122025_03_31_34_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/03/30/image_12122025_03_31_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:34:02.736751 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/33/image_12122025_03_33_34_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/03/32/image_12122025_03_32_24_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/03/32/image_12122025_03_32_15_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/03/31/image_12122025_03_31_45_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/03/31/image_12122025_03_31_34_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/03/30/image_12122025_03_31_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:34:32.159014 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/33/image_12122025_03_34_04_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/03/33/image_12122025_03_33_55_9590.jpg', 2), ('/home/nano/Desktop/images/12122025/03/33/image_12122025_03_33_34_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/03/32/image_12122025_03_32_24_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/03/32/image_12122025_03_32_15_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/03/31/image_12122025_03_31_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:35:02.663052 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/33/image_12122025_03_34_04_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/03/33/image_12122025_03_33_55_9590.jpg', 2), ('/home/nano/Desktop/images/12122025/03/33/image_12122025_03_33_34_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/03/32/image_12122025_03_32_24_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/03/32/image_12122025_03_32_15_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/03/31/image_12122025_03_31_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:35:32.177411 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/35/image_12122025_03_35_35_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/03/35/image_12122025_03_35_25_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/03/34/image_12122025_03_35_05_10602.jpg', 2), ('/home/nano/Desktop/images/12122025/03/34/image_12122025_03_34_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/03/33/image_12122025_03_34_04_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/03/33/image_12122025_03_33_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:36:02.682545 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/35/image_12122025_03_35_35_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/03/35/image_12122025_03_35_25_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/03/34/image_12122025_03_35_05_10602.jpg', 2), ('/home/nano/Desktop/images/12122025/03/34/image_12122025_03_34_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/03/33/image_12122025_03_34_04_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/03/33/image_12122025_03_33_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:36:32.315152 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/35/image_12122025_03_35_44_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/03/35/image_12122025_03_35_35_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/03/35/image_12122025_03_35_25_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/03/34/image_12122025_03_35_05_10602.jpg', 2), ('/home/nano/Desktop/images/12122025/03/34/image_12122025_03_34_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/03/33/image_12122025_03_34_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:37:02.912799 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/35/image_12122025_03_35_44_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/03/35/image_12122025_03_35_35_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/03/35/image_12122025_03_35_25_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/03/34/image_12122025_03_35_05_10602.jpg', 2), ('/home/nano/Desktop/images/12122025/03/34/image_12122025_03_34_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/03/33/image_12122025_03_34_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:37:32.369207 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/37/image_12122025_03_37_44_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/03/37/image_12122025_03_37_35_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/03/37/image_12122025_03_37_24_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/03/37/image_12122025_03_37_15_9594.jpg', 2), ('/home/nano/Desktop/images/12122025/03/35/image_12122025_03_36_04_9594.jpg', 2), ('/home/nano/Desktop/images/12122025/03/35/image_12122025_03_35_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:38:02.756874 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/37/image_12122025_03_37_44_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/03/37/image_12122025_03_37_35_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/03/37/image_12122025_03_37_24_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/03/37/image_12122025_03_37_15_9594.jpg', 2), ('/home/nano/Desktop/images/12122025/03/35/image_12122025_03_36_04_9594.jpg', 2), ('/home/nano/Desktop/images/12122025/03/35/image_12122025_03_35_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:38:32.489485 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/38/image_12122025_03_38_45_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/03/38/image_12122025_03_38_34_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/03/38/image_12122025_03_38_25_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/03/38/image_12122025_03_38_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/03/37/image_12122025_03_38_05_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/03/37/image_12122025_03_37_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:39:03.376211 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/38/image_12122025_03_38_45_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/03/38/image_12122025_03_38_34_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/03/38/image_12122025_03_38_25_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/03/38/image_12122025_03_38_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/03/37/image_12122025_03_38_05_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/03/37/image_12122025_03_37_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:39:32.603627 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/39/image_12122025_03_39_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/03/38/image_12122025_03_39_04_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/03/38/image_12122025_03_38_55_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/03/38/image_12122025_03_38_45_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/03/38/image_12122025_03_38_34_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/03/38/image_12122025_03_38_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:40:03.049113 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/39/image_12122025_03_39_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/03/38/image_12122025_03_39_04_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/03/38/image_12122025_03_38_55_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/03/38/image_12122025_03_38_45_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/03/38/image_12122025_03_38_34_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/03/38/image_12122025_03_38_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:40:32.677680 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/40/image_12122025_03_40_44_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/03/39/image_12122025_03_39_44_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/03/39/image_12122025_03_39_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/03/38/image_12122025_03_39_04_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/03/38/image_12122025_03_38_55_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/03/38/image_12122025_03_38_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:41:02.194892 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/40/image_12122025_03_40_44_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/03/39/image_12122025_03_39_44_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/03/39/image_12122025_03_39_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/03/38/image_12122025_03_39_04_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/03/38/image_12122025_03_38_55_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/03/38/image_12122025_03_38_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:41:31.796813 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/41/image_12122025_03_41_15_10610.jpg', 2), ('/home/nano/Desktop/images/12122025/03/40/image_12122025_03_41_04_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/03/40/image_12122025_03_40_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/03/40/image_12122025_03_40_44_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/03/39/image_12122025_03_39_44_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/03/39/image_12122025_03_39_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:42:02.251565 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/41/image_12122025_03_41_15_10610.jpg', 2), ('/home/nano/Desktop/images/12122025/03/40/image_12122025_03_41_04_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/03/40/image_12122025_03_40_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/03/40/image_12122025_03_40_44_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/03/39/image_12122025_03_39_44_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/03/39/image_12122025_03_39_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:42:31.870393 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/42/image_12122025_03_42_25_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/03/41/image_12122025_03_42_05_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/03/41/image_12122025_03_41_25_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/03/41/image_12122025_03_41_15_10610.jpg', 2), ('/home/nano/Desktop/images/12122025/03/40/image_12122025_03_41_04_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/03/40/image_12122025_03_40_55_10596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:43:02.382794 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/42/image_12122025_03_42_25_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/03/41/image_12122025_03_42_05_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/03/41/image_12122025_03_41_25_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/03/41/image_12122025_03_41_15_10610.jpg', 2), ('/home/nano/Desktop/images/12122025/03/40/image_12122025_03_41_04_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/03/40/image_12122025_03_40_55_10596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:43:31.963588 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/43/image_12122025_03_43_34_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/03/42/image_12122025_03_42_44_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/03/42/image_12122025_03_42_25_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/03/41/image_12122025_03_42_05_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/03/41/image_12122025_03_41_25_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/03/41/image_12122025_03_41_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:44:02.565953 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/43/image_12122025_03_43_34_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/03/42/image_12122025_03_42_44_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/03/42/image_12122025_03_42_25_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/03/41/image_12122025_03_42_05_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/03/41/image_12122025_03_41_25_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/03/41/image_12122025_03_41_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:44:32.075323 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/44/image_12122025_03_44_35_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/03/44/image_12122025_03_44_24_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/03/44/image_12122025_03_44_15_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/03/43/image_12122025_03_43_54_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/03/43/image_12122025_03_43_34_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/03/42/image_12122025_03_42_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:45:02.559945 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/44/image_12122025_03_44_35_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/03/44/image_12122025_03_44_24_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/03/44/image_12122025_03_44_15_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/03/43/image_12122025_03_43_54_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/03/43/image_12122025_03_43_34_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/03/42/image_12122025_03_42_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:45:32.169073 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/45/image_12122025_03_45_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/03/45/image_12122025_03_45_14_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/03/44/image_12122025_03_44_44_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/03/44/image_12122025_03_44_35_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/03/44/image_12122025_03_44_24_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/03/44/image_12122025_03_44_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:46:02.520981 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/45/image_12122025_03_45_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/03/45/image_12122025_03_45_14_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/03/44/image_12122025_03_44_44_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/03/44/image_12122025_03_44_35_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/03/44/image_12122025_03_44_24_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/03/44/image_12122025_03_44_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:46:32.255349 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/46/image_12122025_03_46_24_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/03/45/image_12122025_03_45_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/03/45/image_12122025_03_45_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/03/45/image_12122025_03_45_14_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/03/44/image_12122025_03_44_44_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/03/44/image_12122025_03_44_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:47:02.832061 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/46/image_12122025_03_46_24_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/03/45/image_12122025_03_45_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/03/45/image_12122025_03_45_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/03/45/image_12122025_03_45_14_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/03/44/image_12122025_03_44_44_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/03/44/image_12122025_03_44_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:47:32.388719 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/47/image_12122025_03_47_14_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/03/46/image_12122025_03_46_35_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/03/46/image_12122025_03_46_24_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/03/45/image_12122025_03_45_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/03/45/image_12122025_03_45_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/03/45/image_12122025_03_45_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:48:02.638954 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/47/image_12122025_03_47_14_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/03/46/image_12122025_03_46_35_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/03/46/image_12122025_03_46_24_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/03/45/image_12122025_03_45_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/03/45/image_12122025_03_45_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/03/45/image_12122025_03_45_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:48:32.453496 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/48/image_12122025_03_48_34_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/03/48/image_12122025_03_48_25_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/03/48/image_12122025_03_48_15_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/03/47/image_12122025_03_47_35_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/03/47/image_12122025_03_47_14_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/03/46/image_12122025_03_46_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:49:03.439854 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/48/image_12122025_03_48_34_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/03/48/image_12122025_03_48_25_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/03/48/image_12122025_03_48_15_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/03/47/image_12122025_03_47_35_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/03/47/image_12122025_03_47_14_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/03/46/image_12122025_03_46_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:49:32.563006 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/49/image_12122025_03_49_35_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/03/49/image_12122025_03_49_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/03/49/image_12122025_03_49_15_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/03/48/image_12122025_03_49_05_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/03/48/image_12122025_03_48_54_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/03/48/image_12122025_03_48_34_9584.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:50:02.914160 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/49/image_12122025_03_49_35_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/03/49/image_12122025_03_49_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/03/49/image_12122025_03_49_15_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/03/48/image_12122025_03_49_05_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/03/48/image_12122025_03_48_54_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/03/48/image_12122025_03_48_34_9584.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:50:32.710484 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/50/image_12122025_03_50_14_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/03/49/image_12122025_03_50_05_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/03/49/image_12122025_03_49_44_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/03/49/image_12122025_03_49_35_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/03/49/image_12122025_03_49_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/03/49/image_12122025_03_49_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:51:02.276945 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/50/image_12122025_03_50_14_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/03/49/image_12122025_03_50_05_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/03/49/image_12122025_03_49_44_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/03/49/image_12122025_03_49_35_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/03/49/image_12122025_03_49_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/03/49/image_12122025_03_49_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:51:31.808926 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/51/image_12122025_03_51_44_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/03/51/image_12122025_03_51_35_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/03/51/image_12122025_03_51_24_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/03/51/image_12122025_03_51_15_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/03/50/image_12122025_03_51_04_9594.jpg', 2), ('/home/nano/Desktop/images/12122025/03/50/image_12122025_03_50_34_9584.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:52:02.257041 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/51/image_12122025_03_51_44_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/03/51/image_12122025_03_51_35_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/03/51/image_12122025_03_51_24_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/03/51/image_12122025_03_51_15_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/03/50/image_12122025_03_51_04_9594.jpg', 2), ('/home/nano/Desktop/images/12122025/03/50/image_12122025_03_50_34_9584.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:52:31.869834 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/52/image_12122025_03_52_45_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/03/52/image_12122025_03_52_25_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/03/51/image_12122025_03_51_55_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/03/51/image_12122025_03_51_44_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/03/51/image_12122025_03_51_35_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/03/51/image_12122025_03_51_24_9585.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:53:02.336887 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/52/image_12122025_03_52_45_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/03/52/image_12122025_03_52_25_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/03/51/image_12122025_03_51_55_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/03/51/image_12122025_03_51_44_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/03/51/image_12122025_03_51_35_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/03/51/image_12122025_03_51_24_9585.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:53:32.069615 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/53/image_12122025_03_53_45_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/03/53/image_12122025_03_53_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/03/53/image_12122025_03_53_15_10606.jpg', 2), ('/home/nano/Desktop/images/12122025/03/52/image_12122025_03_53_04_9595.jpg', 2), ('/home/nano/Desktop/images/12122025/03/52/image_12122025_03_52_55_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/03/52/image_12122025_03_52_45_10596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:54:02.752989 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/53/image_12122025_03_53_45_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/03/53/image_12122025_03_53_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/03/53/image_12122025_03_53_15_10606.jpg', 2), ('/home/nano/Desktop/images/12122025/03/52/image_12122025_03_53_04_9595.jpg', 2), ('/home/nano/Desktop/images/12122025/03/52/image_12122025_03_52_55_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/03/52/image_12122025_03_52_45_10596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:54:32.121758 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/54/image_12122025_03_54_35_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/03/54/image_12122025_03_54_14_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/03/53/image_12122025_03_53_54_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/03/53/image_12122025_03_53_45_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/03/53/image_12122025_03_53_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/03/53/image_12122025_03_53_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:55:02.696155 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/54/image_12122025_03_54_35_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/03/54/image_12122025_03_54_14_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/03/53/image_12122025_03_53_54_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/03/53/image_12122025_03_53_45_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/03/53/image_12122025_03_53_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/03/53/image_12122025_03_53_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:55:32.219976 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/55/image_12122025_03_55_34_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/03/54/image_12122025_03_54_44_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/03/54/image_12122025_03_54_35_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/03/54/image_12122025_03_54_14_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/03/53/image_12122025_03_53_54_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/03/53/image_12122025_03_53_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:56:02.701510 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/55/image_12122025_03_55_34_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/03/54/image_12122025_03_54_44_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/03/54/image_12122025_03_54_35_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/03/54/image_12122025_03_54_14_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/03/53/image_12122025_03_53_54_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/03/53/image_12122025_03_53_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:56:32.338597 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/56/image_12122025_03_56_24_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/03/56/image_12122025_03_56_15_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/03/55/image_12122025_03_55_54_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/03/55/image_12122025_03_55_34_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/03/54/image_12122025_03_54_44_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/03/54/image_12122025_03_54_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:57:02.892453 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/56/image_12122025_03_56_24_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/03/56/image_12122025_03_56_15_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/03/55/image_12122025_03_55_54_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/03/55/image_12122025_03_55_34_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/03/54/image_12122025_03_54_44_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/03/54/image_12122025_03_54_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:57:32.404481 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/57/image_12122025_03_57_25_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/03/56/image_12122025_03_56_55_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/03/56/image_12122025_03_56_24_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/03/56/image_12122025_03_56_15_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/03/55/image_12122025_03_55_54_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/03/55/image_12122025_03_55_34_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:59:03.003860 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/57/image_12122025_03_57_25_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/03/56/image_12122025_03_56_55_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/03/56/image_12122025_03_56_24_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/03/56/image_12122025_03_56_15_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/03/55/image_12122025_03_55_54_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/03/55/image_12122025_03_55_34_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 03:59:32.319940 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/59/image_12122025_03_59_44_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/03/59/image_12122025_03_59_35_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/03/59/image_12122025_03_59_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/03/58/image_12122025_03_58_54_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/03/58/image_12122025_03_58_45_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/03/58/image_12122025_03_58_24_9585.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:00:02.740697 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/59/image_12122025_03_59_44_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/03/59/image_12122025_03_59_35_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/03/59/image_12122025_03_59_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/03/58/image_12122025_03_58_54_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/03/58/image_12122025_03_58_45_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/03/58/image_12122025_03_58_24_9585.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:00:32.412554 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/59/image_12122025_03_59_55_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/03/59/image_12122025_03_59_44_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/03/59/image_12122025_03_59_35_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/03/59/image_12122025_03_59_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/03/58/image_12122025_03_58_54_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/03/58/image_12122025_03_58_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:01:03.022495 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/03/59/image_12122025_03_59_55_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/03/59/image_12122025_03_59_44_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/03/59/image_12122025_03_59_35_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/03/59/image_12122025_03_59_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/03/58/image_12122025_03_58_54_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/03/58/image_12122025_03_58_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:01:32.493786 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/00/image_12122025_04_00_45_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/03/59/image_12122025_03_59_55_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/03/59/image_12122025_03_59_44_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/03/59/image_12122025_03_59_35_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/03/59/image_12122025_03_59_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/03/58/image_12122025_03_58_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:02:03.023812 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/00/image_12122025_04_00_45_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/03/59/image_12122025_03_59_55_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/03/59/image_12122025_03_59_44_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/03/59/image_12122025_03_59_35_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/03/59/image_12122025_03_59_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/03/58/image_12122025_03_58_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:02:32.587795 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/02/image_12122025_04_02_14_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/04/00/image_12122025_04_01_05_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/04/00/image_12122025_04_00_45_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/03/59/image_12122025_03_59_55_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/03/59/image_12122025_03_59_44_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/03/59/image_12122025_03_59_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:03:03.175034 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/02/image_12122025_04_02_14_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/04/00/image_12122025_04_01_05_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/04/00/image_12122025_04_00_45_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/03/59/image_12122025_03_59_55_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/03/59/image_12122025_03_59_44_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/03/59/image_12122025_03_59_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:03:32.699058 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/03/image_12122025_04_03_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/04/03/image_12122025_04_03_24_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/04/03/image_12122025_04_03_15_10610.jpg', 2), ('/home/nano/Desktop/images/12122025/04/02/image_12122025_04_03_04_9590.jpg', 2), ('/home/nano/Desktop/images/12122025/04/02/image_12122025_04_02_25_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/04/02/image_12122025_04_02_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:04:02.363038 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/03/image_12122025_04_03_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/04/03/image_12122025_04_03_24_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/04/03/image_12122025_04_03_15_10610.jpg', 2), ('/home/nano/Desktop/images/12122025/04/02/image_12122025_04_03_04_9590.jpg', 2), ('/home/nano/Desktop/images/12122025/04/02/image_12122025_04_02_25_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/04/02/image_12122025_04_02_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:04:31.812439 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/04/image_12122025_04_04_35_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/04/04/image_12122025_04_04_25_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/04/04/image_12122025_04_04_14_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/04/03/image_12122025_04_03_54_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/04/03/image_12122025_04_03_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/04/03/image_12122025_04_03_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:05:02.464546 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/04/image_12122025_04_04_35_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/04/04/image_12122025_04_04_25_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/04/04/image_12122025_04_04_14_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/04/03/image_12122025_04_03_54_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/04/03/image_12122025_04_03_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/04/03/image_12122025_04_03_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:05:31.936553 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/05/image_12122025_04_05_24_9594.jpg', 2), ('/home/nano/Desktop/images/12122025/04/05/image_12122025_04_05_15_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/04/04/image_12122025_04_04_55_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/04/04/image_12122025_04_04_35_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/04/04/image_12122025_04_04_25_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/04/04/image_12122025_04_04_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:06:02.474910 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/05/image_12122025_04_05_24_9594.jpg', 2), ('/home/nano/Desktop/images/12122025/04/05/image_12122025_04_05_15_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/04/04/image_12122025_04_04_55_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/04/04/image_12122025_04_04_35_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/04/04/image_12122025_04_04_25_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/04/04/image_12122025_04_04_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:06:32.042786 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/06/image_12122025_04_06_35_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/04/06/image_12122025_04_06_14_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/04/05/image_12122025_04_06_05_10623.jpg', 2), ('/home/nano/Desktop/images/12122025/04/05/image_12122025_04_05_35_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/04/05/image_12122025_04_05_24_9594.jpg', 2), ('/home/nano/Desktop/images/12122025/04/05/image_12122025_04_05_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:07:02.723031 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/06/image_12122025_04_06_35_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/04/06/image_12122025_04_06_14_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/04/05/image_12122025_04_06_05_10623.jpg', 2), ('/home/nano/Desktop/images/12122025/04/05/image_12122025_04_05_35_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/04/05/image_12122025_04_05_24_9594.jpg', 2), ('/home/nano/Desktop/images/12122025/04/05/image_12122025_04_05_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:07:32.194858 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/07/image_12122025_04_07_45_10600.jpg', 2), ('/home/nano/Desktop/images/12122025/04/07/image_12122025_04_07_15_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/04/06/image_12122025_04_07_04_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/04/06/image_12122025_04_06_55_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/04/06/image_12122025_04_06_35_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/04/06/image_12122025_04_06_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:08:02.662917 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/08/image_12122025_04_08_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/04/07/image_12122025_04_07_45_10600.jpg', 2), ('/home/nano/Desktop/images/12122025/04/07/image_12122025_04_07_15_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/04/06/image_12122025_04_07_04_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/04/06/image_12122025_04_06_55_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/04/06/image_12122025_04_06_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:08:32.255300 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/08/image_12122025_04_08_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/04/08/image_12122025_04_08_24_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/04/07/image_12122025_04_08_05_10606.jpg', 2), ('/home/nano/Desktop/images/12122025/04/07/image_12122025_04_07_54_9614.jpg', 2), ('/home/nano/Desktop/images/12122025/04/07/image_12122025_04_07_45_10600.jpg', 2), ('/home/nano/Desktop/images/12122025/04/07/image_12122025_04_07_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:09:03.174210 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/08/image_12122025_04_08_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/04/08/image_12122025_04_08_24_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/04/07/image_12122025_04_08_05_10606.jpg', 2), ('/home/nano/Desktop/images/12122025/04/07/image_12122025_04_07_54_9614.jpg', 2), ('/home/nano/Desktop/images/12122025/04/07/image_12122025_04_07_45_10600.jpg', 2), ('/home/nano/Desktop/images/12122025/04/07/image_12122025_04_07_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:09:32.443755 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/09/image_12122025_04_09_25_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/04/08/image_12122025_04_09_05_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/04/08/image_12122025_04_08_44_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/04/08/image_12122025_04_08_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/04/08/image_12122025_04_08_24_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/04/07/image_12122025_04_08_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:10:02.865838 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/09/image_12122025_04_09_25_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/04/08/image_12122025_04_09_05_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/04/08/image_12122025_04_08_44_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/04/08/image_12122025_04_08_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/04/08/image_12122025_04_08_24_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/04/07/image_12122025_04_08_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:10:32.492841 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/10/image_12122025_04_10_45_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/04/09/image_12122025_04_09_34_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/04/09/image_12122025_04_09_25_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/04/08/image_12122025_04_09_05_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/04/08/image_12122025_04_08_44_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/04/08/image_12122025_04_08_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:11:03.147359 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/10/image_12122025_04_10_45_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/04/09/image_12122025_04_09_34_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/04/09/image_12122025_04_09_25_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/04/08/image_12122025_04_09_05_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/04/08/image_12122025_04_08_44_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/04/08/image_12122025_04_08_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:11:32.597241 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/10/image_12122025_04_10_45_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/04/09/image_12122025_04_09_34_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/04/09/image_12122025_04_09_25_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/04/08/image_12122025_04_09_05_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/04/08/image_12122025_04_08_44_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/04/08/image_12122025_04_08_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:12:02.909948 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/10/image_12122025_04_10_45_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/04/09/image_12122025_04_09_34_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/04/09/image_12122025_04_09_25_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/04/08/image_12122025_04_09_05_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/04/08/image_12122025_04_08_44_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/04/08/image_12122025_04_08_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:12:32.691826 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/10/image_12122025_04_10_45_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/04/09/image_12122025_04_09_34_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/04/09/image_12122025_04_09_25_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/04/08/image_12122025_04_09_05_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/04/08/image_12122025_04_08_44_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/04/08/image_12122025_04_08_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:13:02.298411 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/10/image_12122025_04_10_45_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/04/09/image_12122025_04_09_34_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/04/09/image_12122025_04_09_25_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/04/08/image_12122025_04_09_05_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/04/08/image_12122025_04_08_44_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/04/08/image_12122025_04_08_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:13:31.774135 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/10/image_12122025_04_10_45_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/04/09/image_12122025_04_09_34_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/04/09/image_12122025_04_09_25_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/04/08/image_12122025_04_09_05_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/04/08/image_12122025_04_08_44_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/04/08/image_12122025_04_08_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:14:02.461659 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/10/image_12122025_04_10_45_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/04/09/image_12122025_04_09_34_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/04/09/image_12122025_04_09_25_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/04/08/image_12122025_04_09_05_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/04/08/image_12122025_04_08_44_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/04/08/image_12122025_04_08_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:14:31.932511 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/13/image_12122025_04_14_04_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/04/10/image_12122025_04_10_54_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/04/10/image_12122025_04_10_45_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/04/09/image_12122025_04_09_34_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/04/09/image_12122025_04_09_25_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/04/08/image_12122025_04_09_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:15:02.467413 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/13/image_12122025_04_14_04_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/04/10/image_12122025_04_10_54_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/04/10/image_12122025_04_10_45_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/04/09/image_12122025_04_09_34_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/04/09/image_12122025_04_09_25_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/04/08/image_12122025_04_09_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:15:31.983397 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/13/image_12122025_04_14_04_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/04/10/image_12122025_04_10_54_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/04/10/image_12122025_04_10_45_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/04/09/image_12122025_04_09_34_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/04/09/image_12122025_04_09_25_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/04/08/image_12122025_04_09_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:16:02.336245 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/13/image_12122025_04_14_04_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/04/10/image_12122025_04_10_54_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/04/10/image_12122025_04_10_45_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/04/09/image_12122025_04_09_34_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/04/09/image_12122025_04_09_25_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/04/08/image_12122025_04_09_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:16:32.091853 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/16/image_12122025_04_16_14_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/04/14/image_12122025_04_14_15_10604.jpg', 2), ('/home/nano/Desktop/images/12122025/04/13/image_12122025_04_14_04_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/04/10/image_12122025_04_10_54_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/04/10/image_12122025_04_10_45_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/04/09/image_12122025_04_09_34_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:17:02.758160 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/17/image_12122025_04_17_45_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/04/16/image_12122025_04_16_14_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/04/14/image_12122025_04_14_15_10604.jpg', 2), ('/home/nano/Desktop/images/12122025/04/13/image_12122025_04_14_04_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/04/10/image_12122025_04_10_54_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/04/10/image_12122025_04_10_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:17:32.218013 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/17/image_12122025_04_17_45_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/04/17/image_12122025_04_17_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/04/16/image_12122025_04_17_04_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/04/16/image_12122025_04_16_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/04/16/image_12122025_04_16_14_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/04/14/image_12122025_04_14_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:18:02.717247 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/17/image_12122025_04_17_45_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/04/17/image_12122025_04_17_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/04/16/image_12122025_04_17_04_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/04/16/image_12122025_04_16_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/04/16/image_12122025_04_16_14_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/04/14/image_12122025_04_14_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:18:32.358618 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/18/image_12122025_04_18_35_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/04/17/image_12122025_04_18_05_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/04/17/image_12122025_04_17_54_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/04/17/image_12122025_04_17_45_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/04/17/image_12122025_04_17_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/04/16/image_12122025_04_17_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:19:03.281641 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/18/image_12122025_04_18_35_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/04/17/image_12122025_04_18_05_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/04/17/image_12122025_04_17_54_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/04/17/image_12122025_04_17_45_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/04/17/image_12122025_04_17_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/04/16/image_12122025_04_17_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:19:32.469465 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/19/image_12122025_04_19_34_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/04/19/image_12122025_04_19_15_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/04/18/image_12122025_04_19_04_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/04/18/image_12122025_04_18_55_10599.jpg', 2), ('/home/nano/Desktop/images/12122025/04/18/image_12122025_04_18_35_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/04/17/image_12122025_04_18_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:20:02.988757 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/19/image_12122025_04_19_34_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/04/19/image_12122025_04_19_15_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/04/18/image_12122025_04_19_04_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/04/18/image_12122025_04_18_55_10599.jpg', 2), ('/home/nano/Desktop/images/12122025/04/18/image_12122025_04_18_35_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/04/17/image_12122025_04_18_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:20:32.520858 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/19/image_12122025_04_19_34_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/04/19/image_12122025_04_19_15_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/04/18/image_12122025_04_19_04_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/04/18/image_12122025_04_18_55_10599.jpg', 2), ('/home/nano/Desktop/images/12122025/04/18/image_12122025_04_18_35_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/04/17/image_12122025_04_18_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:21:03.248689 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/19/image_12122025_04_19_34_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/04/19/image_12122025_04_19_15_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/04/18/image_12122025_04_19_04_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/04/18/image_12122025_04_18_55_10599.jpg', 2), ('/home/nano/Desktop/images/12122025/04/18/image_12122025_04_18_35_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/04/17/image_12122025_04_18_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:21:32.703000 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/21/image_12122025_04_21_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/04/19/image_12122025_04_19_45_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/04/19/image_12122025_04_19_34_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/04/19/image_12122025_04_19_15_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/04/18/image_12122025_04_19_04_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/04/18/image_12122025_04_18_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:22:02.034371 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/21/image_12122025_04_21_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/04/19/image_12122025_04_19_45_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/04/19/image_12122025_04_19_34_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/04/19/image_12122025_04_19_15_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/04/18/image_12122025_04_19_04_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/04/18/image_12122025_04_18_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:22:31.741593 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/21/image_12122025_04_21_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/04/19/image_12122025_04_19_45_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/04/19/image_12122025_04_19_34_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/04/19/image_12122025_04_19_15_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/04/18/image_12122025_04_19_04_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/04/18/image_12122025_04_18_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:23:02.357235 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/21/image_12122025_04_21_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/04/19/image_12122025_04_19_45_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/04/19/image_12122025_04_19_34_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/04/19/image_12122025_04_19_15_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/04/18/image_12122025_04_19_04_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/04/18/image_12122025_04_18_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:23:31.864838 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/22/image_12122025_04_23_05_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/04/21/image_12122025_04_21_25_10616.jpg', 2), ('/home/nano/Desktop/images/12122025/04/21/image_12122025_04_21_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/04/19/image_12122025_04_19_45_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/04/19/image_12122025_04_19_34_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/04/19/image_12122025_04_19_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:24:02.497293 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/22/image_12122025_04_23_05_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/04/21/image_12122025_04_21_25_10616.jpg', 2), ('/home/nano/Desktop/images/12122025/04/21/image_12122025_04_21_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/04/19/image_12122025_04_19_45_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/04/19/image_12122025_04_19_34_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/04/19/image_12122025_04_19_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:24:31.990715 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/24/image_12122025_04_24_35_10599.jpg', 2), ('/home/nano/Desktop/images/12122025/04/23/image_12122025_04_23_14_9591.jpg', 2), ('/home/nano/Desktop/images/12122025/04/22/image_12122025_04_23_05_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/04/21/image_12122025_04_21_25_10616.jpg', 2), ('/home/nano/Desktop/images/12122025/04/21/image_12122025_04_21_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/04/19/image_12122025_04_19_45_10596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:25:02.433063 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/24/image_12122025_04_24_35_10599.jpg', 2), ('/home/nano/Desktop/images/12122025/04/23/image_12122025_04_23_14_9591.jpg', 2), ('/home/nano/Desktop/images/12122025/04/22/image_12122025_04_23_05_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/04/21/image_12122025_04_21_25_10616.jpg', 2), ('/home/nano/Desktop/images/12122025/04/21/image_12122025_04_21_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/04/19/image_12122025_04_19_45_10596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:25:32.053338 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/24/image_12122025_04_24_35_10599.jpg', 2), ('/home/nano/Desktop/images/12122025/04/23/image_12122025_04_23_14_9591.jpg', 2), ('/home/nano/Desktop/images/12122025/04/22/image_12122025_04_23_05_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/04/21/image_12122025_04_21_25_10616.jpg', 2), ('/home/nano/Desktop/images/12122025/04/21/image_12122025_04_21_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/04/19/image_12122025_04_19_45_10596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:26:02.567232 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/26/image_12122025_04_26_54_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/04/24/image_12122025_04_24_35_10599.jpg', 2), ('/home/nano/Desktop/images/12122025/04/23/image_12122025_04_23_14_9591.jpg', 2), ('/home/nano/Desktop/images/12122025/04/22/image_12122025_04_23_05_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/04/21/image_12122025_04_21_25_10616.jpg', 2), ('/home/nano/Desktop/images/12122025/04/21/image_12122025_04_21_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:26:32.172185 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/26/image_12122025_04_26_54_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/04/26/image_12122025_04_26_34_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/04/24/image_12122025_04_24_54_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/04/24/image_12122025_04_24_35_10599.jpg', 2), ('/home/nano/Desktop/images/12122025/04/23/image_12122025_04_23_14_9591.jpg', 2), ('/home/nano/Desktop/images/12122025/04/22/image_12122025_04_23_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:27:02.825022 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/26/image_12122025_04_26_54_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/04/26/image_12122025_04_26_34_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/04/24/image_12122025_04_24_54_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/04/24/image_12122025_04_24_35_10599.jpg', 2), ('/home/nano/Desktop/images/12122025/04/23/image_12122025_04_23_14_9591.jpg', 2), ('/home/nano/Desktop/images/12122025/04/22/image_12122025_04_23_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:27:32.245195 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/26/image_12122025_04_26_54_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/04/26/image_12122025_04_26_34_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/04/24/image_12122025_04_24_54_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/04/24/image_12122025_04_24_35_10599.jpg', 2), ('/home/nano/Desktop/images/12122025/04/23/image_12122025_04_23_14_9591.jpg', 2), ('/home/nano/Desktop/images/12122025/04/22/image_12122025_04_23_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:28:02.705571 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/26/image_12122025_04_26_54_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/04/26/image_12122025_04_26_34_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/04/24/image_12122025_04_24_54_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/04/24/image_12122025_04_24_35_10599.jpg', 2), ('/home/nano/Desktop/images/12122025/04/23/image_12122025_04_23_14_9591.jpg', 2), ('/home/nano/Desktop/images/12122025/04/22/image_12122025_04_23_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:28:32.347568 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/28/image_12122025_04_28_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/04/28/image_12122025_04_28_34_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/04/28/image_12122025_04_28_25_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/04/26/image_12122025_04_26_54_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/04/26/image_12122025_04_26_45_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/04/26/image_12122025_04_26_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:29:03.228083 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/28/image_12122025_04_28_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/04/28/image_12122025_04_28_34_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/04/28/image_12122025_04_28_25_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/04/26/image_12122025_04_26_54_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/04/26/image_12122025_04_26_45_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/04/26/image_12122025_04_26_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:29:32.451057 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/29/image_12122025_04_29_35_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/04/29/image_12122025_04_29_24_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/04/28/image_12122025_04_28_55_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/04/28/image_12122025_04_28_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/04/28/image_12122025_04_28_34_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/04/28/image_12122025_04_28_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:30:02.696589 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/29/image_12122025_04_29_35_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/04/29/image_12122025_04_29_24_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/04/28/image_12122025_04_28_55_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/04/28/image_12122025_04_28_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/04/28/image_12122025_04_28_34_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/04/28/image_12122025_04_28_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:30:32.548720 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/30/image_12122025_04_30_25_10604.jpg', 2), ('/home/nano/Desktop/images/12122025/04/29/image_12122025_04_29_45_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/04/29/image_12122025_04_29_35_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/04/29/image_12122025_04_29_24_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/04/28/image_12122025_04_28_55_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/04/28/image_12122025_04_28_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:31:03.168676 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/30/image_12122025_04_30_25_10604.jpg', 2), ('/home/nano/Desktop/images/12122025/04/29/image_12122025_04_29_45_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/04/29/image_12122025_04_29_35_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/04/29/image_12122025_04_29_24_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/04/28/image_12122025_04_28_55_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/04/28/image_12122025_04_28_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:31:32.633821 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/31/image_12122025_04_31_34_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/04/31/image_12122025_04_31_25_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/04/31/image_12122025_04_31_15_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/04/30/image_12122025_04_30_35_9590.jpg', 2), ('/home/nano/Desktop/images/12122025/04/30/image_12122025_04_30_25_10604.jpg', 2), ('/home/nano/Desktop/images/12122025/04/29/image_12122025_04_29_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:32:02.065242 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/31/image_12122025_04_31_34_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/04/31/image_12122025_04_31_25_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/04/31/image_12122025_04_31_15_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/04/30/image_12122025_04_30_35_9590.jpg', 2), ('/home/nano/Desktop/images/12122025/04/30/image_12122025_04_30_25_10604.jpg', 2), ('/home/nano/Desktop/images/12122025/04/29/image_12122025_04_29_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:32:31.767591 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/32/image_12122025_04_32_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/04/31/image_12122025_04_31_45_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/04/31/image_12122025_04_31_34_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/04/31/image_12122025_04_31_25_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/04/31/image_12122025_04_31_15_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/04/30/image_12122025_04_30_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:33:02.436157 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/32/image_12122025_04_32_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/04/31/image_12122025_04_31_45_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/04/31/image_12122025_04_31_34_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/04/31/image_12122025_04_31_25_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/04/31/image_12122025_04_31_15_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/04/30/image_12122025_04_30_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:33:31.891123 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/32/image_12122025_04_32_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/04/31/image_12122025_04_31_45_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/04/31/image_12122025_04_31_34_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/04/31/image_12122025_04_31_25_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/04/31/image_12122025_04_31_15_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/04/30/image_12122025_04_30_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:34:02.561550 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/32/image_12122025_04_32_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/04/31/image_12122025_04_31_45_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/04/31/image_12122025_04_31_34_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/04/31/image_12122025_04_31_25_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/04/31/image_12122025_04_31_15_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/04/30/image_12122025_04_30_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:34:31.973423 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/34/image_12122025_04_34_15_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/04/32/image_12122025_04_32_44_9590.jpg', 2), ('/home/nano/Desktop/images/12122025/04/32/image_12122025_04_32_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/04/31/image_12122025_04_31_45_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/04/31/image_12122025_04_31_34_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/04/31/image_12122025_04_31_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:35:02.637977 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/34/image_12122025_04_34_15_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/04/32/image_12122025_04_32_44_9590.jpg', 2), ('/home/nano/Desktop/images/12122025/04/32/image_12122025_04_32_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/04/31/image_12122025_04_31_45_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/04/31/image_12122025_04_31_34_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/04/31/image_12122025_04_31_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:35:32.065028 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/34/image_12122025_04_34_24_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/04/34/image_12122025_04_34_15_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/04/32/image_12122025_04_32_44_9590.jpg', 2), ('/home/nano/Desktop/images/12122025/04/32/image_12122025_04_32_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/04/31/image_12122025_04_31_45_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/04/31/image_12122025_04_31_34_9584.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:36:02.510687 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/34/image_12122025_04_34_24_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/04/34/image_12122025_04_34_15_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/04/32/image_12122025_04_32_44_9590.jpg', 2), ('/home/nano/Desktop/images/12122025/04/32/image_12122025_04_32_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/04/31/image_12122025_04_31_45_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/04/31/image_12122025_04_31_34_9584.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:36:32.178990 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/35/image_12122025_04_35_44_9593.jpg', 2), ('/home/nano/Desktop/images/12122025/04/34/image_12122025_04_34_24_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/04/34/image_12122025_04_34_15_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/04/32/image_12122025_04_32_44_9590.jpg', 2), ('/home/nano/Desktop/images/12122025/04/32/image_12122025_04_32_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/04/31/image_12122025_04_31_45_10596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:37:02.829191 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/35/image_12122025_04_35_44_9593.jpg', 2), ('/home/nano/Desktop/images/12122025/04/34/image_12122025_04_34_24_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/04/34/image_12122025_04_34_15_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/04/32/image_12122025_04_32_44_9590.jpg', 2), ('/home/nano/Desktop/images/12122025/04/32/image_12122025_04_32_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/04/31/image_12122025_04_31_45_10596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:37:32.364164 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/35/image_12122025_04_35_44_9593.jpg', 2), ('/home/nano/Desktop/images/12122025/04/34/image_12122025_04_34_24_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/04/34/image_12122025_04_34_15_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/04/32/image_12122025_04_32_44_9590.jpg', 2), ('/home/nano/Desktop/images/12122025/04/32/image_12122025_04_32_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/04/31/image_12122025_04_31_45_10596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:38:02.643709 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/35/image_12122025_04_35_44_9593.jpg', 2), ('/home/nano/Desktop/images/12122025/04/34/image_12122025_04_34_24_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/04/34/image_12122025_04_34_15_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/04/32/image_12122025_04_32_44_9590.jpg', 2), ('/home/nano/Desktop/images/12122025/04/32/image_12122025_04_32_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/04/31/image_12122025_04_31_45_10596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:38:32.339988 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/35/image_12122025_04_35_44_9593.jpg', 2), ('/home/nano/Desktop/images/12122025/04/34/image_12122025_04_34_24_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/04/34/image_12122025_04_34_15_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/04/32/image_12122025_04_32_44_9590.jpg', 2), ('/home/nano/Desktop/images/12122025/04/32/image_12122025_04_32_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/04/31/image_12122025_04_31_45_10596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:39:03.280599 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/35/image_12122025_04_35_44_9593.jpg', 2), ('/home/nano/Desktop/images/12122025/04/34/image_12122025_04_34_24_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/04/34/image_12122025_04_34_15_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/04/32/image_12122025_04_32_44_9590.jpg', 2), ('/home/nano/Desktop/images/12122025/04/32/image_12122025_04_32_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/04/31/image_12122025_04_31_45_10596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:39:32.463284 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/39/image_12122025_04_39_45_9590.jpg', 2), ('/home/nano/Desktop/images/12122025/04/35/image_12122025_04_36_04_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/04/35/image_12122025_04_35_44_9593.jpg', 2), ('/home/nano/Desktop/images/12122025/04/34/image_12122025_04_34_24_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/04/34/image_12122025_04_34_15_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/04/32/image_12122025_04_32_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:40:02.844440 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/39/image_12122025_04_39_45_9590.jpg', 2), ('/home/nano/Desktop/images/12122025/04/35/image_12122025_04_36_04_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/04/35/image_12122025_04_35_44_9593.jpg', 2), ('/home/nano/Desktop/images/12122025/04/34/image_12122025_04_34_24_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/04/34/image_12122025_04_34_15_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/04/32/image_12122025_04_32_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:40:32.538992 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/39/image_12122025_04_40_05_10619.jpg', 2), ('/home/nano/Desktop/images/12122025/04/39/image_12122025_04_39_54_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/04/39/image_12122025_04_39_45_9590.jpg', 2), ('/home/nano/Desktop/images/12122025/04/35/image_12122025_04_36_04_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/04/35/image_12122025_04_35_44_9593.jpg', 2), ('/home/nano/Desktop/images/12122025/04/34/image_12122025_04_34_24_9584.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:41:03.236002 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/39/image_12122025_04_40_05_10619.jpg', 2), ('/home/nano/Desktop/images/12122025/04/39/image_12122025_04_39_54_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/04/39/image_12122025_04_39_45_9590.jpg', 2), ('/home/nano/Desktop/images/12122025/04/35/image_12122025_04_36_04_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/04/35/image_12122025_04_35_44_9593.jpg', 2), ('/home/nano/Desktop/images/12122025/04/34/image_12122025_04_34_24_9584.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:41:32.739789 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/40/image_12122025_04_40_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/04/39/image_12122025_04_40_05_10619.jpg', 2), ('/home/nano/Desktop/images/12122025/04/39/image_12122025_04_39_54_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/04/39/image_12122025_04_39_45_9590.jpg', 2), ('/home/nano/Desktop/images/12122025/04/35/image_12122025_04_36_04_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/04/35/image_12122025_04_35_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:42:02.021922 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/40/image_12122025_04_40_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/04/39/image_12122025_04_40_05_10619.jpg', 2), ('/home/nano/Desktop/images/12122025/04/39/image_12122025_04_39_54_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/04/39/image_12122025_04_39_45_9590.jpg', 2), ('/home/nano/Desktop/images/12122025/04/35/image_12122025_04_36_04_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/04/35/image_12122025_04_35_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:42:31.809794 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/41/image_12122025_04_41_34_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/04/40/image_12122025_04_40_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/04/39/image_12122025_04_40_05_10619.jpg', 2), ('/home/nano/Desktop/images/12122025/04/39/image_12122025_04_39_54_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/04/39/image_12122025_04_39_45_9590.jpg', 2), ('/home/nano/Desktop/images/12122025/04/35/image_12122025_04_36_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:43:02.351823 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/41/image_12122025_04_41_34_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/04/40/image_12122025_04_40_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/04/39/image_12122025_04_40_05_10619.jpg', 2), ('/home/nano/Desktop/images/12122025/04/39/image_12122025_04_39_54_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/04/39/image_12122025_04_39_45_9590.jpg', 2), ('/home/nano/Desktop/images/12122025/04/35/image_12122025_04_36_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:43:31.929593 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_15_10604.jpg', 2), ('/home/nano/Desktop/images/12122025/04/42/image_12122025_04_43_04_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/04/42/image_12122025_04_42_25_10599.jpg', 2), ('/home/nano/Desktop/images/12122025/04/41/image_12122025_04_41_34_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/04/40/image_12122025_04_40_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/04/39/image_12122025_04_40_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:44:02.734910 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_15_10604.jpg', 2), ('/home/nano/Desktop/images/12122025/04/42/image_12122025_04_43_04_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/04/42/image_12122025_04_42_25_10599.jpg', 2), ('/home/nano/Desktop/images/12122025/04/41/image_12122025_04_41_34_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/04/40/image_12122025_04_40_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/04/39/image_12122025_04_40_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:44:32.129833 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_15_10604.jpg', 2), ('/home/nano/Desktop/images/12122025/04/42/image_12122025_04_43_04_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/04/42/image_12122025_04_42_25_10599.jpg', 2), ('/home/nano/Desktop/images/12122025/04/41/image_12122025_04_41_34_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/04/40/image_12122025_04_40_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:45:02.834808 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_15_10604.jpg', 2), ('/home/nano/Desktop/images/12122025/04/42/image_12122025_04_43_04_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/04/42/image_12122025_04_42_25_10599.jpg', 2), ('/home/nano/Desktop/images/12122025/04/41/image_12122025_04_41_34_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/04/40/image_12122025_04_40_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:45:32.243956 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_15_10604.jpg', 2), ('/home/nano/Desktop/images/12122025/04/42/image_12122025_04_43_04_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/04/42/image_12122025_04_42_25_10599.jpg', 2), ('/home/nano/Desktop/images/12122025/04/41/image_12122025_04_41_34_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/04/40/image_12122025_04_40_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:46:02.631656 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_15_10604.jpg', 2), ('/home/nano/Desktop/images/12122025/04/42/image_12122025_04_43_04_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/04/42/image_12122025_04_42_25_10599.jpg', 2), ('/home/nano/Desktop/images/12122025/04/41/image_12122025_04_41_34_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/04/40/image_12122025_04_40_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:46:32.362312 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_15_10604.jpg', 2), ('/home/nano/Desktop/images/12122025/04/42/image_12122025_04_43_04_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/04/42/image_12122025_04_42_25_10599.jpg', 2), ('/home/nano/Desktop/images/12122025/04/41/image_12122025_04_41_34_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/04/40/image_12122025_04_40_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:47:02.846654 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_15_10604.jpg', 2), ('/home/nano/Desktop/images/12122025/04/42/image_12122025_04_43_04_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/04/42/image_12122025_04_42_25_10599.jpg', 2), ('/home/nano/Desktop/images/12122025/04/41/image_12122025_04_41_34_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/04/40/image_12122025_04_40_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:47:32.403522 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_15_10604.jpg', 2), ('/home/nano/Desktop/images/12122025/04/42/image_12122025_04_43_04_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/04/42/image_12122025_04_42_25_10599.jpg', 2), ('/home/nano/Desktop/images/12122025/04/41/image_12122025_04_41_34_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/04/40/image_12122025_04_40_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:48:02.816514 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_15_10604.jpg', 2), ('/home/nano/Desktop/images/12122025/04/42/image_12122025_04_43_04_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/04/42/image_12122025_04_42_25_10599.jpg', 2), ('/home/nano/Desktop/images/12122025/04/41/image_12122025_04_41_34_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/04/40/image_12122025_04_40_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:48:32.499462 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_15_10604.jpg', 2), ('/home/nano/Desktop/images/12122025/04/42/image_12122025_04_43_04_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/04/42/image_12122025_04_42_25_10599.jpg', 2), ('/home/nano/Desktop/images/12122025/04/41/image_12122025_04_41_34_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/04/40/image_12122025_04_40_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:49:02.882506 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_15_10604.jpg', 2), ('/home/nano/Desktop/images/12122025/04/42/image_12122025_04_43_04_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/04/42/image_12122025_04_42_25_10599.jpg', 2), ('/home/nano/Desktop/images/12122025/04/41/image_12122025_04_41_34_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/04/40/image_12122025_04_40_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:49:32.612077 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_44_05_10600.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_15_10604.jpg', 2), ('/home/nano/Desktop/images/12122025/04/42/image_12122025_04_43_04_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/04/42/image_12122025_04_42_25_10599.jpg', 2), ('/home/nano/Desktop/images/12122025/04/41/image_12122025_04_41_34_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:50:03.069168 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_44_05_10600.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_15_10604.jpg', 2), ('/home/nano/Desktop/images/12122025/04/42/image_12122025_04_43_04_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/04/42/image_12122025_04_42_25_10599.jpg', 2), ('/home/nano/Desktop/images/12122025/04/41/image_12122025_04_41_34_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:50:32.688926 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_49_44_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_44_05_10600.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_15_10604.jpg', 2), ('/home/nano/Desktop/images/12122025/04/42/image_12122025_04_43_04_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/04/42/image_12122025_04_42_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:51:02.221811 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_49_44_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_44_05_10600.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_15_10604.jpg', 2), ('/home/nano/Desktop/images/12122025/04/42/image_12122025_04_43_04_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/04/42/image_12122025_04_42_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:51:31.801462 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/51/image_12122025_04_51_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_50_05_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_49_44_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_44_05_10600.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:52:02.184162 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/51/image_12122025_04_51_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_50_05_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_49_44_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_44_05_10600.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:52:31.920328 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/51/image_12122025_04_51_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_50_05_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_49_44_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_44_05_10600.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:53:02.476376 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/51/image_12122025_04_51_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_50_05_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_49_44_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_44_05_10600.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:53:31.976124 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/51/image_12122025_04_51_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_50_05_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_49_44_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_44_05_10600.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:54:02.576772 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/51/image_12122025_04_51_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_50_05_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_49_44_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_44_05_10600.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:54:32.085985 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/51/image_12122025_04_51_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_50_05_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_49_44_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_44_05_10600.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:55:02.776102 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/51/image_12122025_04_51_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_50_05_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_49_44_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_44_05_10600.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:55:32.190228 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/51/image_12122025_04_51_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_50_05_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_49_44_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_44_05_10600.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:56:02.710966 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/51/image_12122025_04_51_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_50_05_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_49_44_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_44_05_10600.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:56:32.303665 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/51/image_12122025_04_51_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_50_05_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_49_44_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_44_05_10600.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:57:02.896284 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/51/image_12122025_04_51_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_50_05_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_49_44_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_44_05_10600.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:57:32.469030 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/51/image_12122025_04_51_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_50_05_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_49_44_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_44_05_10600.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:58:02.815370 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/51/image_12122025_04_51_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_50_05_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_49_44_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_44_05_10600.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:59:03.201309 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/51/image_12122025_04_51_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_50_05_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_49_44_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_44_05_10600.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 04:59:32.430004 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/51/image_12122025_04_51_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_50_05_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_49_44_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_44_05_10600.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:00:02.853836 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/51/image_12122025_04_51_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_50_05_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_49_44_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_44_05_10600.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:00:32.547979 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/51/image_12122025_04_51_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_50_05_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_49_44_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_44_05_10600.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:01:03.063827 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/51/image_12122025_04_51_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_50_05_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_49_44_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_44_05_10600.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:01:32.635158 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/51/image_12122025_04_51_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_50_05_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_49_44_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_44_05_10600.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:02:03.075438 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/51/image_12122025_04_51_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_50_05_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_49_44_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_44_05_10600.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:02:32.771129 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/51/image_12122025_04_51_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_50_05_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_49_44_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_44_05_10600.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:03:02.360805 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/51/image_12122025_04_51_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_50_05_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_49_44_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_44_05_10600.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:03:31.878374 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/51/image_12122025_04_51_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/04/51/image_12122025_04_51_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_50_05_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_49_44_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_44_05_10600.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:04:02.565060 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/04/51/image_12122025_04_51_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/04/51/image_12122025_04_51_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_50_05_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_49_44_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_44_05_10600.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_43_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:04:32.057561 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/03/image_12122025_05_03_54_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/04/51/image_12122025_04_51_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/04/51/image_12122025_04_51_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_50_05_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_49_44_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_44_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:05:02.653258 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/03/image_12122025_05_03_54_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/04/51/image_12122025_04_51_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/04/51/image_12122025_04_51_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_50_05_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_49_44_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_44_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:05:32.108423 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/03/image_12122025_05_03_54_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/04/51/image_12122025_04_51_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/04/51/image_12122025_04_51_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_50_05_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_49_44_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_44_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:06:02.496253 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/03/image_12122025_05_03_54_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/04/51/image_12122025_04_51_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/04/51/image_12122025_04_51_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_50_05_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_49_44_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_44_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:06:32.170525 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/03/image_12122025_05_03_54_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/04/51/image_12122025_04_51_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/04/51/image_12122025_04_51_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_50_05_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_49_44_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_44_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:07:02.676915 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/03/image_12122025_05_03_54_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/04/51/image_12122025_04_51_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/04/51/image_12122025_04_51_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_50_05_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_49_44_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_44_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:07:32.312073 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/03/image_12122025_05_03_54_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/04/51/image_12122025_04_51_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/04/51/image_12122025_04_51_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_50_05_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_49_44_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_44_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:08:02.818617 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/03/image_12122025_05_03_54_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/04/51/image_12122025_04_51_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/04/51/image_12122025_04_51_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_50_05_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_49_44_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_44_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:08:32.430053 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/03/image_12122025_05_03_54_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/04/51/image_12122025_04_51_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/04/51/image_12122025_04_51_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_50_05_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_49_44_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_44_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:09:03.183027 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/03/image_12122025_05_03_54_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/04/51/image_12122025_04_51_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/04/51/image_12122025_04_51_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_50_05_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_49_44_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_44_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:09:32.527983 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/03/image_12122025_05_03_54_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/04/51/image_12122025_04_51_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/04/51/image_12122025_04_51_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_50_05_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_49_44_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_44_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:10:02.922024 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/03/image_12122025_05_03_54_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/04/51/image_12122025_04_51_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/04/51/image_12122025_04_51_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_50_05_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_49_44_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/04/43/image_12122025_04_44_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:10:32.610640 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/10/image_12122025_05_10_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/05/03/image_12122025_05_04_05_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/05/03/image_12122025_05_03_54_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/04/51/image_12122025_04_51_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/04/51/image_12122025_04_51_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_50_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:11:03.252137 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/10/image_12122025_05_10_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/05/03/image_12122025_05_04_05_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/05/03/image_12122025_05_03_54_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/04/51/image_12122025_04_51_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/04/51/image_12122025_04_51_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/04/49/image_12122025_04_50_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:11:32.729119 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/11/image_12122025_05_11_25_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/05/10/image_12122025_05_10_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/05/10/image_12122025_05_10_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/05/03/image_12122025_05_04_05_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/05/03/image_12122025_05_03_54_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/04/51/image_12122025_04_51_35_10596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:12:02.236082 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/11/image_12122025_05_11_25_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/05/10/image_12122025_05_10_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/05/10/image_12122025_05_10_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/05/03/image_12122025_05_04_05_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/05/03/image_12122025_05_03_54_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/04/51/image_12122025_04_51_35_10596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:12:31.832062 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/12/image_12122025_05_12_15_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/05/11/image_12122025_05_12_04_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/05/11/image_12122025_05_11_35_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/05/11/image_12122025_05_11_25_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/05/10/image_12122025_05_10_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/05/10/image_12122025_05_10_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:13:02.351784 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/12/image_12122025_05_12_15_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/05/11/image_12122025_05_12_04_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/05/11/image_12122025_05_11_35_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/05/11/image_12122025_05_11_25_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/05/10/image_12122025_05_10_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/05/10/image_12122025_05_10_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:13:31.898345 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/13/image_12122025_05_13_44_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/05/13/image_12122025_05_13_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/05/13/image_12122025_05_13_24_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/05/13/image_12122025_05_13_15_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/05/12/image_12122025_05_12_54_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/05/12/image_12122025_05_12_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:14:02.631217 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/13/image_12122025_05_13_44_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/05/13/image_12122025_05_13_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/05/13/image_12122025_05_13_24_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/05/13/image_12122025_05_13_15_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/05/12/image_12122025_05_12_54_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/05/12/image_12122025_05_12_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:14:32.017955 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/13/image_12122025_05_13_44_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/05/13/image_12122025_05_13_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/05/13/image_12122025_05_13_24_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/05/13/image_12122025_05_13_15_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/05/12/image_12122025_05_12_54_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/05/12/image_12122025_05_12_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:15:02.637826 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/13/image_12122025_05_13_44_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/05/13/image_12122025_05_13_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/05/13/image_12122025_05_13_24_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/05/13/image_12122025_05_13_15_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/05/12/image_12122025_05_12_54_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/05/12/image_12122025_05_12_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:15:32.140410 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/15/image_12122025_05_15_45_9593.jpg', 2), ('/home/nano/Desktop/images/12122025/05/14/image_12122025_05_15_04_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/05/13/image_12122025_05_13_55_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/05/13/image_12122025_05_13_44_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/05/13/image_12122025_05_13_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/05/13/image_12122025_05_13_24_9585.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:16:02.533592 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/15/image_12122025_05_15_45_9593.jpg', 2), ('/home/nano/Desktop/images/12122025/05/14/image_12122025_05_15_04_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/05/13/image_12122025_05_13_55_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/05/13/image_12122025_05_13_44_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/05/13/image_12122025_05_13_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/05/13/image_12122025_05_13_24_9585.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:16:32.365101 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/16/image_12122025_05_16_35_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/05/16/image_12122025_05_16_14_9614.jpg', 2), ('/home/nano/Desktop/images/12122025/05/15/image_12122025_05_15_54_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/05/15/image_12122025_05_15_45_9593.jpg', 2), ('/home/nano/Desktop/images/12122025/05/14/image_12122025_05_15_04_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/05/13/image_12122025_05_13_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:17:02.959027 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/16/image_12122025_05_16_35_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/05/16/image_12122025_05_16_14_9614.jpg', 2), ('/home/nano/Desktop/images/12122025/05/15/image_12122025_05_15_54_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/05/15/image_12122025_05_15_45_9593.jpg', 2), ('/home/nano/Desktop/images/12122025/05/14/image_12122025_05_15_04_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/05/13/image_12122025_05_13_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:17:32.421494 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/17/image_12122025_05_17_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/05/17/image_12122025_05_17_15_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/05/16/image_12122025_05_17_04_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/05/16/image_12122025_05_16_44_9591.jpg', 2), ('/home/nano/Desktop/images/12122025/05/16/image_12122025_05_16_35_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/05/16/image_12122025_05_16_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:18:02.789808 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/17/image_12122025_05_17_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/05/17/image_12122025_05_17_15_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/05/16/image_12122025_05_17_04_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/05/16/image_12122025_05_16_44_9591.jpg', 2), ('/home/nano/Desktop/images/12122025/05/16/image_12122025_05_16_35_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/05/16/image_12122025_05_16_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:18:32.517172 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/17/image_12122025_05_18_05_10600.jpg', 2), ('/home/nano/Desktop/images/12122025/05/17/image_12122025_05_17_54_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/05/17/image_12122025_05_17_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/05/17/image_12122025_05_17_15_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/05/16/image_12122025_05_17_04_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/05/16/image_12122025_05_16_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:19:03.432615 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/17/image_12122025_05_18_05_10600.jpg', 2), ('/home/nano/Desktop/images/12122025/05/17/image_12122025_05_17_54_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/05/17/image_12122025_05_17_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/05/17/image_12122025_05_17_15_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/05/16/image_12122025_05_17_04_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/05/16/image_12122025_05_16_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:19:32.641541 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/19/image_12122025_05_19_45_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/05/19/image_12122025_05_19_34_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/05/19/image_12122025_05_19_25_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/05/18/image_12122025_05_18_35_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/05/17/image_12122025_05_18_05_10600.jpg', 2), ('/home/nano/Desktop/images/12122025/05/17/image_12122025_05_17_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:20:03.084881 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/19/image_12122025_05_19_45_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/05/19/image_12122025_05_19_34_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/05/19/image_12122025_05_19_25_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/05/18/image_12122025_05_18_35_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/05/17/image_12122025_05_18_05_10600.jpg', 2), ('/home/nano/Desktop/images/12122025/05/17/image_12122025_05_17_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:20:32.692280 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/20/image_12122025_05_20_44_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/05/20/image_12122025_05_20_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/05/20/image_12122025_05_20_15_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/05/19/image_12122025_05_19_54_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/05/19/image_12122025_05_19_45_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/05/19/image_12122025_05_19_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:21:02.184197 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/20/image_12122025_05_20_44_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/05/20/image_12122025_05_20_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/05/20/image_12122025_05_20_15_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/05/19/image_12122025_05_19_54_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/05/19/image_12122025_05_19_45_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/05/19/image_12122025_05_19_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:21:31.907522 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/20/image_12122025_05_21_05_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/05/20/image_12122025_05_20_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/05/20/image_12122025_05_20_44_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/05/20/image_12122025_05_20_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/05/20/image_12122025_05_20_15_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/05/19/image_12122025_05_19_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:22:02.305374 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/20/image_12122025_05_21_05_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/05/20/image_12122025_05_20_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/05/20/image_12122025_05_20_44_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/05/20/image_12122025_05_20_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/05/20/image_12122025_05_20_15_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/05/19/image_12122025_05_19_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:22:31.909842 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/22/image_12122025_05_22_45_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/05/22/image_12122025_05_22_15_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/05/21/image_12122025_05_21_55_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/05/20/image_12122025_05_21_05_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/05/20/image_12122025_05_20_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/05/20/image_12122025_05_20_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:23:02.512282 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/22/image_12122025_05_22_45_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/05/22/image_12122025_05_22_15_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/05/21/image_12122025_05_21_55_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/05/20/image_12122025_05_21_05_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/05/20/image_12122025_05_20_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/05/20/image_12122025_05_20_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:23:32.062293 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/23/image_12122025_05_23_35_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/05/23/image_12122025_05_23_14_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/05/22/image_12122025_05_22_54_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/05/22/image_12122025_05_22_45_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/05/22/image_12122025_05_22_15_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/05/21/image_12122025_05_21_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:24:02.822524 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/23/image_12122025_05_23_35_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/05/23/image_12122025_05_23_14_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/05/22/image_12122025_05_22_54_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/05/22/image_12122025_05_22_45_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/05/22/image_12122025_05_22_15_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/05/21/image_12122025_05_21_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:24:32.124607 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/23/image_12122025_05_23_55_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/05/23/image_12122025_05_23_35_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/05/23/image_12122025_05_23_14_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/05/22/image_12122025_05_22_54_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/05/22/image_12122025_05_22_45_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/05/22/image_12122025_05_22_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:25:02.680871 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/23/image_12122025_05_23_55_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/05/23/image_12122025_05_23_35_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/05/23/image_12122025_05_23_14_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/05/22/image_12122025_05_22_54_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/05/22/image_12122025_05_22_45_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/05/22/image_12122025_05_22_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:25:32.186563 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/25/image_12122025_05_25_24_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/05/23/image_12122025_05_24_04_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/05/23/image_12122025_05_23_55_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/05/23/image_12122025_05_23_35_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/05/23/image_12122025_05_23_14_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/05/22/image_12122025_05_22_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:26:02.778748 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/25/image_12122025_05_25_24_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/05/23/image_12122025_05_24_04_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/05/23/image_12122025_05_23_55_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/05/23/image_12122025_05_23_35_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/05/23/image_12122025_05_23_14_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/05/22/image_12122025_05_22_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:26:32.362447 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/26/image_12122025_05_26_45_10599.jpg', 2), ('/home/nano/Desktop/images/12122025/05/25/image_12122025_05_25_35_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/05/25/image_12122025_05_25_24_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/05/23/image_12122025_05_24_04_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/05/23/image_12122025_05_23_55_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/05/23/image_12122025_05_23_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:27:03.035650 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/26/image_12122025_05_26_45_10599.jpg', 2), ('/home/nano/Desktop/images/12122025/05/25/image_12122025_05_25_35_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/05/25/image_12122025_05_25_24_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/05/23/image_12122025_05_24_04_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/05/23/image_12122025_05_23_55_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/05/23/image_12122025_05_23_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:27:32.519968 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/26/image_12122025_05_26_45_10599.jpg', 2), ('/home/nano/Desktop/images/12122025/05/25/image_12122025_05_25_35_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/05/25/image_12122025_05_25_24_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/05/23/image_12122025_05_24_04_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/05/23/image_12122025_05_23_55_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/05/23/image_12122025_05_23_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:28:02.955439 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/26/image_12122025_05_26_45_10599.jpg', 2), ('/home/nano/Desktop/images/12122025/05/25/image_12122025_05_25_35_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/05/25/image_12122025_05_25_24_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/05/23/image_12122025_05_24_04_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/05/23/image_12122025_05_23_55_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/05/23/image_12122025_05_23_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:28:32.557717 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/27/image_12122025_05_28_05_10607.jpg', 2), ('/home/nano/Desktop/images/12122025/05/26/image_12122025_05_26_55_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/05/26/image_12122025_05_26_45_10599.jpg', 2), ('/home/nano/Desktop/images/12122025/05/25/image_12122025_05_25_35_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/05/25/image_12122025_05_25_24_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/05/23/image_12122025_05_24_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:29:03.310125 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/27/image_12122025_05_28_05_10607.jpg', 2), ('/home/nano/Desktop/images/12122025/05/26/image_12122025_05_26_55_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/05/26/image_12122025_05_26_45_10599.jpg', 2), ('/home/nano/Desktop/images/12122025/05/25/image_12122025_05_25_35_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/05/25/image_12122025_05_25_24_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/05/23/image_12122025_05_24_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:29:32.725535 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/29/image_12122025_05_29_45_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/05/28/image_12122025_05_28_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/05/27/image_12122025_05_28_05_10607.jpg', 2), ('/home/nano/Desktop/images/12122025/05/26/image_12122025_05_26_55_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/05/26/image_12122025_05_26_45_10599.jpg', 2), ('/home/nano/Desktop/images/12122025/05/25/image_12122025_05_25_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:30:02.168287 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/29/image_12122025_05_29_45_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/05/28/image_12122025_05_28_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/05/27/image_12122025_05_28_05_10607.jpg', 2), ('/home/nano/Desktop/images/12122025/05/26/image_12122025_05_26_55_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/05/26/image_12122025_05_26_45_10599.jpg', 2), ('/home/nano/Desktop/images/12122025/05/25/image_12122025_05_25_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:30:31.789087 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/30/image_12122025_05_30_24_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/05/30/image_12122025_05_30_15_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/05/29/image_12122025_05_29_54_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/05/29/image_12122025_05_29_45_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/05/28/image_12122025_05_28_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/05/27/image_12122025_05_28_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:31:02.454601 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/30/image_12122025_05_30_24_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/05/30/image_12122025_05_30_15_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/05/29/image_12122025_05_29_54_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/05/29/image_12122025_05_29_45_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/05/28/image_12122025_05_28_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/05/27/image_12122025_05_28_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:31:31.909831 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/30/image_12122025_05_30_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/05/30/image_12122025_05_30_24_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/05/30/image_12122025_05_30_15_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/05/29/image_12122025_05_29_54_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/05/29/image_12122025_05_29_45_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/05/28/image_12122025_05_28_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:32:02.440680 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/30/image_12122025_05_30_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/05/30/image_12122025_05_30_24_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/05/30/image_12122025_05_30_15_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/05/29/image_12122025_05_29_54_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/05/29/image_12122025_05_29_45_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/05/28/image_12122025_05_28_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:32:31.991379 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/31/image_12122025_05_31_54_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/05/30/image_12122025_05_30_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/05/30/image_12122025_05_30_24_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/05/30/image_12122025_05_30_15_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/05/29/image_12122025_05_29_54_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/05/29/image_12122025_05_29_45_10596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:33:02.617399 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/31/image_12122025_05_31_54_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/05/30/image_12122025_05_30_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/05/30/image_12122025_05_30_24_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/05/30/image_12122025_05_30_15_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/05/29/image_12122025_05_29_54_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/05/29/image_12122025_05_29_45_10596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:33:32.096519 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/33/image_12122025_05_33_14_9594.jpg', 2), ('/home/nano/Desktop/images/12122025/05/31/image_12122025_05_32_05_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/05/31/image_12122025_05_31_54_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/05/30/image_12122025_05_30_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/05/30/image_12122025_05_30_24_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/05/30/image_12122025_05_30_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:34:02.839954 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/33/image_12122025_05_33_14_9594.jpg', 2), ('/home/nano/Desktop/images/12122025/05/31/image_12122025_05_32_05_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/05/31/image_12122025_05_31_54_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/05/30/image_12122025_05_30_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/05/30/image_12122025_05_30_24_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/05/30/image_12122025_05_30_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:34:32.197037 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/33/image_12122025_05_33_14_9594.jpg', 2), ('/home/nano/Desktop/images/12122025/05/31/image_12122025_05_32_05_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/05/31/image_12122025_05_31_54_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/05/30/image_12122025_05_30_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/05/30/image_12122025_05_30_24_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/05/30/image_12122025_05_30_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:35:02.858715 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/33/image_12122025_05_33_14_9594.jpg', 2), ('/home/nano/Desktop/images/12122025/05/31/image_12122025_05_32_05_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/05/31/image_12122025_05_31_54_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/05/30/image_12122025_05_30_35_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/05/30/image_12122025_05_30_24_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/05/30/image_12122025_05_30_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:35:32.315872 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/35/image_12122025_05_35_14_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/05/33/image_12122025_05_33_45_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/05/33/image_12122025_05_33_14_9594.jpg', 2), ('/home/nano/Desktop/images/12122025/05/31/image_12122025_05_32_05_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/05/31/image_12122025_05_31_54_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/05/30/image_12122025_05_30_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:36:02.804655 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/35/image_12122025_05_35_14_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/05/33/image_12122025_05_33_45_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/05/33/image_12122025_05_33_14_9594.jpg', 2), ('/home/nano/Desktop/images/12122025/05/31/image_12122025_05_32_05_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/05/31/image_12122025_05_31_54_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/05/30/image_12122025_05_30_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:36:32.472091 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/36/image_12122025_05_36_34_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/05/35/image_12122025_05_35_25_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/05/35/image_12122025_05_35_14_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/05/33/image_12122025_05_33_45_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/05/33/image_12122025_05_33_14_9594.jpg', 2), ('/home/nano/Desktop/images/12122025/05/31/image_12122025_05_32_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:37:03.159047 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/36/image_12122025_05_36_34_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/05/35/image_12122025_05_35_25_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/05/35/image_12122025_05_35_14_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/05/33/image_12122025_05_33_45_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/05/33/image_12122025_05_33_14_9594.jpg', 2), ('/home/nano/Desktop/images/12122025/05/31/image_12122025_05_32_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:37:32.665439 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/37/image_12122025_05_37_35_10599.jpg', 2), ('/home/nano/Desktop/images/12122025/05/36/image_12122025_05_36_45_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/05/36/image_12122025_05_36_34_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/05/35/image_12122025_05_35_25_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/05/35/image_12122025_05_35_14_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/05/33/image_12122025_05_33_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:38:03.062466 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/37/image_12122025_05_37_35_10599.jpg', 2), ('/home/nano/Desktop/images/12122025/05/36/image_12122025_05_36_45_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/05/36/image_12122025_05_36_34_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/05/35/image_12122025_05_35_25_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/05/35/image_12122025_05_35_14_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/05/33/image_12122025_05_33_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:38:32.673561 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/38/image_12122025_05_38_45_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/05/37/image_12122025_05_37_44_9591.jpg', 2), ('/home/nano/Desktop/images/12122025/05/37/image_12122025_05_37_35_10599.jpg', 2), ('/home/nano/Desktop/images/12122025/05/36/image_12122025_05_36_45_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/05/36/image_12122025_05_36_34_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/05/35/image_12122025_05_35_25_10596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:39:02.438977 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/38/image_12122025_05_38_45_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/05/37/image_12122025_05_37_44_9591.jpg', 2), ('/home/nano/Desktop/images/12122025/05/37/image_12122025_05_37_35_10599.jpg', 2), ('/home/nano/Desktop/images/12122025/05/36/image_12122025_05_36_45_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/05/36/image_12122025_05_36_34_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/05/35/image_12122025_05_35_25_10596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:39:31.760743 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/39/image_12122025_05_39_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/05/38/image_12122025_05_38_45_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/05/37/image_12122025_05_37_44_9591.jpg', 2), ('/home/nano/Desktop/images/12122025/05/37/image_12122025_05_37_35_10599.jpg', 2), ('/home/nano/Desktop/images/12122025/05/36/image_12122025_05_36_45_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/05/36/image_12122025_05_36_34_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:40:02.235590 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/39/image_12122025_05_39_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/05/38/image_12122025_05_38_45_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/05/37/image_12122025_05_37_44_9591.jpg', 2), ('/home/nano/Desktop/images/12122025/05/37/image_12122025_05_37_35_10599.jpg', 2), ('/home/nano/Desktop/images/12122025/05/36/image_12122025_05_36_45_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/05/36/image_12122025_05_36_34_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:40:31.910611 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/40/image_12122025_05_40_14_9594.jpg', 2), ('/home/nano/Desktop/images/12122025/05/39/image_12122025_05_40_05_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/05/39/image_12122025_05_39_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/05/38/image_12122025_05_38_55_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/05/38/image_12122025_05_38_45_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/05/37/image_12122025_05_37_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:41:02.372418 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/40/image_12122025_05_40_14_9594.jpg', 2), ('/home/nano/Desktop/images/12122025/05/39/image_12122025_05_40_05_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/05/39/image_12122025_05_39_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/05/38/image_12122025_05_38_55_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/05/38/image_12122025_05_38_45_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/05/37/image_12122025_05_37_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:41:31.971974 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/40/image_12122025_05_40_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/05/40/image_12122025_05_40_14_9594.jpg', 2), ('/home/nano/Desktop/images/12122025/05/39/image_12122025_05_40_05_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/05/39/image_12122025_05_39_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/05/38/image_12122025_05_38_55_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/05/38/image_12122025_05_38_45_10596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:42:02.363323 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/40/image_12122025_05_40_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/05/40/image_12122025_05_40_14_9594.jpg', 2), ('/home/nano/Desktop/images/12122025/05/39/image_12122025_05_40_05_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/05/39/image_12122025_05_39_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/05/38/image_12122025_05_38_55_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/05/38/image_12122025_05_38_45_10596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:42:32.054925 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/40/image_12122025_05_40_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/05/40/image_12122025_05_40_14_9594.jpg', 2), ('/home/nano/Desktop/images/12122025/05/39/image_12122025_05_40_05_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/05/39/image_12122025_05_39_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/05/38/image_12122025_05_38_55_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/05/38/image_12122025_05_38_45_10596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:43:02.325876 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/40/image_12122025_05_40_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/05/40/image_12122025_05_40_14_9594.jpg', 2), ('/home/nano/Desktop/images/12122025/05/39/image_12122025_05_40_05_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/05/39/image_12122025_05_39_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/05/38/image_12122025_05_38_55_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/05/38/image_12122025_05_38_45_10596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:43:32.165798 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/43/image_12122025_05_43_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/05/40/image_12122025_05_41_04_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/05/40/image_12122025_05_40_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/05/40/image_12122025_05_40_14_9594.jpg', 2), ('/home/nano/Desktop/images/12122025/05/39/image_12122025_05_40_05_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/05/39/image_12122025_05_39_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:44:02.834877 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/43/image_12122025_05_43_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/05/40/image_12122025_05_41_04_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/05/40/image_12122025_05_40_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/05/40/image_12122025_05_40_14_9594.jpg', 2), ('/home/nano/Desktop/images/12122025/05/39/image_12122025_05_40_05_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/05/39/image_12122025_05_39_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:44:32.310340 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/44/image_12122025_05_44_35_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/05/43/image_12122025_05_43_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/05/43/image_12122025_05_43_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/05/40/image_12122025_05_41_04_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/05/40/image_12122025_05_40_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/05/40/image_12122025_05_40_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:45:02.833979 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/44/image_12122025_05_44_35_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/05/43/image_12122025_05_43_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/05/43/image_12122025_05_43_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/05/40/image_12122025_05_41_04_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/05/40/image_12122025_05_40_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/05/40/image_12122025_05_40_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:45:32.350786 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/44/image_12122025_05_45_05_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/05/44/image_12122025_05_44_44_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/05/44/image_12122025_05_44_35_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/05/43/image_12122025_05_43_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/05/43/image_12122025_05_43_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/05/40/image_12122025_05_41_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:46:02.638133 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/44/image_12122025_05_45_05_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/05/44/image_12122025_05_44_44_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/05/44/image_12122025_05_44_35_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/05/43/image_12122025_05_43_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/05/43/image_12122025_05_43_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/05/40/image_12122025_05_41_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:46:32.471759 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/44/image_12122025_05_45_05_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/05/44/image_12122025_05_44_44_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/05/44/image_12122025_05_44_35_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/05/43/image_12122025_05_43_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/05/43/image_12122025_05_43_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/05/40/image_12122025_05_41_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:47:03.093842 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/44/image_12122025_05_45_05_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/05/44/image_12122025_05_44_44_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/05/44/image_12122025_05_44_35_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/05/43/image_12122025_05_43_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/05/43/image_12122025_05_43_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/05/40/image_12122025_05_41_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:47:32.551347 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/47/image_12122025_05_47_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/05/45/image_12122025_05_45_45_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/05/44/image_12122025_05_45_05_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/05/44/image_12122025_05_44_44_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/05/44/image_12122025_05_44_35_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/05/43/image_12122025_05_43_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:48:03.008894 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/48/image_12122025_05_48_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/05/47/image_12122025_05_47_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/05/45/image_12122025_05_45_45_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/05/44/image_12122025_05_45_05_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/05/44/image_12122025_05_44_44_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/05/44/image_12122025_05_44_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:48:32.650595 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/48/image_12122025_05_48_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/05/47/image_12122025_05_47_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/05/45/image_12122025_05_45_45_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/05/44/image_12122025_05_45_05_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/05/44/image_12122025_05_44_44_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/05/44/image_12122025_05_44_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:49:02.504506 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/48/image_12122025_05_48_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/05/47/image_12122025_05_47_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/05/45/image_12122025_05_45_45_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/05/44/image_12122025_05_45_05_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/05/44/image_12122025_05_44_44_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/05/44/image_12122025_05_44_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:49:31.804801 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/49/image_12122025_05_49_35_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/05/48/image_12122025_05_48_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/05/47/image_12122025_05_47_35_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/05/47/image_12122025_05_47_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/05/45/image_12122025_05_45_45_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/05/44/image_12122025_05_45_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:50:02.140987 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/49/image_12122025_05_49_35_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/05/48/image_12122025_05_48_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/05/47/image_12122025_05_47_35_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/05/47/image_12122025_05_47_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/05/45/image_12122025_05_45_45_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/05/44/image_12122025_05_45_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:50:31.879185 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/49/image_12122025_05_49_35_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/05/48/image_12122025_05_48_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/05/47/image_12122025_05_47_35_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/05/47/image_12122025_05_47_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/05/45/image_12122025_05_45_45_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/05/44/image_12122025_05_45_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:51:02.439953 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/49/image_12122025_05_49_35_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/05/48/image_12122025_05_48_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/05/47/image_12122025_05_47_35_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/05/47/image_12122025_05_47_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/05/45/image_12122025_05_45_45_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/05/44/image_12122025_05_45_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:51:31.973571 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/49/image_12122025_05_49_35_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/05/48/image_12122025_05_48_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/05/47/image_12122025_05_47_35_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/05/47/image_12122025_05_47_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/05/45/image_12122025_05_45_45_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/05/44/image_12122025_05_45_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:52:02.470281 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/49/image_12122025_05_49_35_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/05/48/image_12122025_05_48_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/05/47/image_12122025_05_47_35_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/05/47/image_12122025_05_47_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/05/45/image_12122025_05_45_45_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/05/44/image_12122025_05_45_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:52:32.143293 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/49/image_12122025_05_49_35_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/05/48/image_12122025_05_48_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/05/47/image_12122025_05_47_35_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/05/47/image_12122025_05_47_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/05/45/image_12122025_05_45_45_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/05/44/image_12122025_05_45_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:53:02.671835 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/49/image_12122025_05_49_35_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/05/48/image_12122025_05_48_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/05/47/image_12122025_05_47_35_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/05/47/image_12122025_05_47_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/05/45/image_12122025_05_45_45_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/05/44/image_12122025_05_45_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:53:32.167939 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/49/image_12122025_05_49_35_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/05/48/image_12122025_05_48_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/05/47/image_12122025_05_47_35_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/05/47/image_12122025_05_47_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/05/45/image_12122025_05_45_45_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/05/44/image_12122025_05_45_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:54:02.889589 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/49/image_12122025_05_49_35_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/05/48/image_12122025_05_48_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/05/47/image_12122025_05_47_35_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/05/47/image_12122025_05_47_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/05/45/image_12122025_05_45_45_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/05/44/image_12122025_05_45_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:54:32.246783 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/49/image_12122025_05_49_35_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/05/48/image_12122025_05_48_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/05/47/image_12122025_05_47_35_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/05/47/image_12122025_05_47_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/05/45/image_12122025_05_45_45_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/05/44/image_12122025_05_45_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:55:02.854303 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/49/image_12122025_05_49_35_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/05/48/image_12122025_05_48_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/05/47/image_12122025_05_47_35_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/05/47/image_12122025_05_47_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/05/45/image_12122025_05_45_45_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/05/44/image_12122025_05_45_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:55:32.354116 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/49/image_12122025_05_49_35_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/05/48/image_12122025_05_48_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/05/47/image_12122025_05_47_35_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/05/47/image_12122025_05_47_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/05/45/image_12122025_05_45_45_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/05/44/image_12122025_05_45_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:56:02.866609 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/49/image_12122025_05_49_35_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/05/48/image_12122025_05_48_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/05/47/image_12122025_05_47_35_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/05/47/image_12122025_05_47_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/05/45/image_12122025_05_45_45_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/05/44/image_12122025_05_45_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:56:32.472051 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/49/image_12122025_05_49_35_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/05/48/image_12122025_05_48_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/05/47/image_12122025_05_47_35_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/05/47/image_12122025_05_47_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/05/45/image_12122025_05_45_45_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/05/44/image_12122025_05_45_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:57:03.066632 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/57/image_12122025_05_57_45_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/05/49/image_12122025_05_49_35_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/05/48/image_12122025_05_48_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/05/47/image_12122025_05_47_35_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/05/47/image_12122025_05_47_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/05/45/image_12122025_05_45_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:57:32.542859 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/57/image_12122025_05_57_45_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/05/49/image_12122025_05_49_35_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/05/48/image_12122025_05_48_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/05/47/image_12122025_05_47_35_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/05/47/image_12122025_05_47_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/05/45/image_12122025_05_45_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:58:02.943790 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/57/image_12122025_05_57_45_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/05/49/image_12122025_05_49_35_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/05/48/image_12122025_05_48_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/05/47/image_12122025_05_47_35_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/05/47/image_12122025_05_47_25_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/05/45/image_12122025_05_45_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:59:03.148503 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_24_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/05/57/image_12122025_05_57_45_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/05/49/image_12122025_05_49_44_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/05/49/image_12122025_05_49_35_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/05/48/image_12122025_05_48_34_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 05:59:32.542862 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_54_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_24_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/05/57/image_12122025_05_57_45_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/05/49/image_12122025_05_49_44_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/05/49/image_12122025_05_49_35_10593.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:00:02.941456 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_54_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_24_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/05/57/image_12122025_05_57_45_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/05/49/image_12122025_05_49_44_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/05/49/image_12122025_05_49_35_10593.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:00:32.642169 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_54_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_24_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/05/57/image_12122025_05_57_45_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/05/49/image_12122025_05_49_44_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/05/49/image_12122025_05_49_35_10593.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:01:03.263833 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_54_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_24_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/05/57/image_12122025_05_57_45_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/05/49/image_12122025_05_49_44_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/05/49/image_12122025_05_49_35_10593.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:01:32.761617 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/01/image_12122025_06_01_15_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_59_05_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_54_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_24_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/05/57/image_12122025_05_57_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:02:02.226463 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/01/image_12122025_06_01_15_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_59_05_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_54_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_24_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/05/57/image_12122025_05_57_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:02:31.862264 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/01/image_12122025_06_01_15_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_59_05_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_54_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_24_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/05/57/image_12122025_05_57_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:03:02.442128 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/01/image_12122025_06_01_15_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_59_05_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_54_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_24_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/05/57/image_12122025_05_57_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:03:31.955789 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/01/image_12122025_06_01_15_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_59_05_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_54_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_24_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/05/57/image_12122025_05_57_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:04:02.683142 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/01/image_12122025_06_01_15_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_59_05_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_54_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_24_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/05/57/image_12122025_05_57_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:04:32.075403 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/01/image_12122025_06_01_15_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_59_05_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_54_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_24_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/05/57/image_12122025_05_57_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:05:02.706663 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/01/image_12122025_06_01_15_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_59_05_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_54_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_24_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/05/57/image_12122025_05_57_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:05:32.176820 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/01/image_12122025_06_01_15_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_59_05_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_54_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_24_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/05/57/image_12122025_05_57_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:06:02.512542 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/01/image_12122025_06_01_15_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_59_05_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_54_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_24_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/05/57/image_12122025_05_57_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:06:32.289673 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/06/image_12122025_06_06_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/06/01/image_12122025_06_01_15_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_59_05_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_54_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:07:02.860580 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/06/image_12122025_06_06_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/06/01/image_12122025_06_01_15_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_59_05_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_54_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:07:32.356651 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/06/image_12122025_06_06_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/06/01/image_12122025_06_01_15_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_59_05_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_54_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:08:02.879679 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/06/image_12122025_06_06_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/06/01/image_12122025_06_01_15_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_59_05_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_54_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:08:32.454296 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/06/image_12122025_06_06_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/06/01/image_12122025_06_01_15_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_59_05_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_54_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:09:03.413474 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/06/image_12122025_06_06_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/06/01/image_12122025_06_01_15_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_59_05_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_54_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:09:32.560453 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/06/image_12122025_06_06_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/06/01/image_12122025_06_01_15_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_59_05_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_54_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:10:03.061606 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/06/image_12122025_06_06_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/06/01/image_12122025_06_01_15_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_59_05_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_54_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:10:32.630986 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/06/image_12122025_06_06_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/06/01/image_12122025_06_01_15_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_59_05_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_54_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:11:03.185936 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/06/image_12122025_06_06_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/06/01/image_12122025_06_01_15_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_59_05_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_54_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:11:32.772825 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/06/image_12122025_06_06_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/06/01/image_12122025_06_01_15_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_59_05_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_54_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:12:02.124478 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/06/image_12122025_06_06_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/06/01/image_12122025_06_01_15_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_59_05_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_54_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:12:31.936281 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/12/image_12122025_06_12_25_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/06/06/image_12122025_06_06_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/06/01/image_12122025_06_01_24_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/06/01/image_12122025_06_01_15_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_59_05_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:13:02.489162 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/12/image_12122025_06_12_25_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/06/06/image_12122025_06_06_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/06/01/image_12122025_06_01_24_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/06/01/image_12122025_06_01_15_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_59_05_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/05/58/image_12122025_05_58_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:13:32.000171 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/13/image_12122025_06_13_24_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/06/12/image_12122025_06_12_34_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/06/12/image_12122025_06_12_25_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/06/06/image_12122025_06_06_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/06/01/image_12122025_06_01_24_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/06/01/image_12122025_06_01_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:14:03.037889 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/13/image_12122025_06_13_24_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/06/12/image_12122025_06_12_34_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/06/12/image_12122025_06_12_25_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/06/06/image_12122025_06_06_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/06/01/image_12122025_06_01_24_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/06/01/image_12122025_06_01_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:14:32.125955 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/13/image_12122025_06_13_24_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/06/12/image_12122025_06_12_34_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/06/12/image_12122025_06_12_25_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/06/06/image_12122025_06_06_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/06/01/image_12122025_06_01_24_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/06/01/image_12122025_06_01_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:15:02.676088 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/13/image_12122025_06_13_24_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/06/12/image_12122025_06_12_34_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/06/12/image_12122025_06_12_25_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/06/06/image_12122025_06_06_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/06/01/image_12122025_06_01_24_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/06/01/image_12122025_06_01_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:15:32.196209 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/13/image_12122025_06_13_24_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/06/12/image_12122025_06_12_34_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/06/12/image_12122025_06_12_25_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/06/06/image_12122025_06_06_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/06/01/image_12122025_06_01_24_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/06/01/image_12122025_06_01_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:16:02.641281 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/13/image_12122025_06_13_24_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/06/12/image_12122025_06_12_34_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/06/12/image_12122025_06_12_25_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/06/06/image_12122025_06_06_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/06/01/image_12122025_06_01_24_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/06/01/image_12122025_06_01_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:16:32.294490 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/13/image_12122025_06_13_24_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/06/12/image_12122025_06_12_34_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/06/12/image_12122025_06_12_25_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/06/06/image_12122025_06_06_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/06/01/image_12122025_06_01_24_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/06/01/image_12122025_06_01_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:17:02.934281 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/13/image_12122025_06_13_24_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/06/12/image_12122025_06_12_34_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/06/12/image_12122025_06_12_25_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/06/06/image_12122025_06_06_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/06/01/image_12122025_06_01_24_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/06/01/image_12122025_06_01_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:17:32.399365 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/13/image_12122025_06_13_24_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/06/12/image_12122025_06_12_34_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/06/12/image_12122025_06_12_25_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/06/06/image_12122025_06_06_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/06/01/image_12122025_06_01_24_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/06/01/image_12122025_06_01_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:18:02.629928 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/13/image_12122025_06_13_24_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/06/12/image_12122025_06_12_34_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/06/12/image_12122025_06_12_25_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/06/06/image_12122025_06_06_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/06/01/image_12122025_06_01_24_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/06/01/image_12122025_06_01_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:18:32.535919 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/13/image_12122025_06_13_35_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/06/13/image_12122025_06_13_24_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/06/12/image_12122025_06_12_34_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/06/12/image_12122025_06_12_25_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/06/06/image_12122025_06_06_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/06/01/image_12122025_06_01_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:19:03.419001 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/13/image_12122025_06_13_35_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/06/13/image_12122025_06_13_24_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/06/12/image_12122025_06_12_34_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/06/12/image_12122025_06_12_25_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/06/06/image_12122025_06_06_55_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/06/01/image_12122025_06_01_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:19:32.596084 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/18/image_12122025_06_18_55_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/06/13/image_12122025_06_13_35_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/06/13/image_12122025_06_13_24_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/06/12/image_12122025_06_12_34_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/06/12/image_12122025_06_12_25_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/06/06/image_12122025_06_06_55_10596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:20:03.029646 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/18/image_12122025_06_18_55_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/06/13/image_12122025_06_13_35_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/06/13/image_12122025_06_13_24_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/06/12/image_12122025_06_12_34_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/06/12/image_12122025_06_12_25_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/06/06/image_12122025_06_06_55_10596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:20:32.769543 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/18/image_12122025_06_18_55_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/06/13/image_12122025_06_13_35_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/06/13/image_12122025_06_13_24_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/06/12/image_12122025_06_12_34_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/06/12/image_12122025_06_12_25_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/06/06/image_12122025_06_06_55_10596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:21:02.350565 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/18/image_12122025_06_18_55_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/06/13/image_12122025_06_13_35_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/06/13/image_12122025_06_13_24_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/06/12/image_12122025_06_12_34_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/06/12/image_12122025_06_12_25_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/06/06/image_12122025_06_06_55_10596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:21:31.833238 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/18/image_12122025_06_18_55_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/06/13/image_12122025_06_13_35_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/06/13/image_12122025_06_13_24_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/06/12/image_12122025_06_12_34_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/06/12/image_12122025_06_12_25_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/06/06/image_12122025_06_06_55_10596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:22:02.264342 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/18/image_12122025_06_18_55_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/06/13/image_12122025_06_13_35_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/06/13/image_12122025_06_13_24_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/06/12/image_12122025_06_12_34_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/06/12/image_12122025_06_12_25_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/06/06/image_12122025_06_06_55_10596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:22:31.910592 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/18/image_12122025_06_18_55_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/06/13/image_12122025_06_13_35_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/06/13/image_12122025_06_13_24_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/06/12/image_12122025_06_12_34_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/06/12/image_12122025_06_12_25_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/06/06/image_12122025_06_06_55_10596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:23:02.500554 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/18/image_12122025_06_18_55_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/06/13/image_12122025_06_13_35_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/06/13/image_12122025_06_13_24_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/06/12/image_12122025_06_12_34_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/06/12/image_12122025_06_12_25_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/06/06/image_12122025_06_06_55_10596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:23:32.013192 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/18/image_12122025_06_18_55_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/06/13/image_12122025_06_13_35_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/06/13/image_12122025_06_13_24_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/06/12/image_12122025_06_12_34_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/06/12/image_12122025_06_12_25_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/06/06/image_12122025_06_06_55_10596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:24:02.716817 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/18/image_12122025_06_18_55_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/06/13/image_12122025_06_13_35_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/06/13/image_12122025_06_13_24_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/06/12/image_12122025_06_12_34_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/06/12/image_12122025_06_12_25_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/06/06/image_12122025_06_06_55_10596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:24:32.136418 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/18/image_12122025_06_18_55_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/06/13/image_12122025_06_13_35_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/06/13/image_12122025_06_13_24_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/06/12/image_12122025_06_12_34_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/06/12/image_12122025_06_12_25_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/06/06/image_12122025_06_06_55_10596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:25:02.782540 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/18/image_12122025_06_18_55_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/06/13/image_12122025_06_13_35_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/06/13/image_12122025_06_13_24_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/06/12/image_12122025_06_12_34_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/06/12/image_12122025_06_12_25_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/06/06/image_12122025_06_06_55_10596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:25:32.259225 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/18/image_12122025_06_18_55_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/06/13/image_12122025_06_13_35_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/06/13/image_12122025_06_13_24_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/06/12/image_12122025_06_12_34_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/06/12/image_12122025_06_12_25_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/06/06/image_12122025_06_06_55_10596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:26:02.778111 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/18/image_12122025_06_18_55_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/06/13/image_12122025_06_13_35_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/06/13/image_12122025_06_13_24_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/06/12/image_12122025_06_12_34_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/06/12/image_12122025_06_12_25_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/06/06/image_12122025_06_06_55_10596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:26:32.349749 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/18/image_12122025_06_18_55_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/06/13/image_12122025_06_13_35_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/06/13/image_12122025_06_13_24_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/06/12/image_12122025_06_12_34_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/06/12/image_12122025_06_12_25_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/06/06/image_12122025_06_06_55_10596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:27:03.029613 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/18/image_12122025_06_18_55_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/06/13/image_12122025_06_13_35_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/06/13/image_12122025_06_13_24_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/06/12/image_12122025_06_12_34_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/06/12/image_12122025_06_12_25_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/06/06/image_12122025_06_06_55_10596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:27:32.452121 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/18/image_12122025_06_18_55_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/06/13/image_12122025_06_13_35_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/06/13/image_12122025_06_13_24_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/06/12/image_12122025_06_12_34_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/06/12/image_12122025_06_12_25_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/06/06/image_12122025_06_06_55_10596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:28:02.912447 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/18/image_12122025_06_18_55_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/06/13/image_12122025_06_13_35_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/06/13/image_12122025_06_13_24_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/06/12/image_12122025_06_12_34_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/06/12/image_12122025_06_12_25_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/06/06/image_12122025_06_06_55_10596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:28:32.600786 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/18/image_12122025_06_18_55_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/06/13/image_12122025_06_13_35_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/06/13/image_12122025_06_13_24_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/06/12/image_12122025_06_12_34_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/06/12/image_12122025_06_12_25_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/06/06/image_12122025_06_06_55_10596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:29:03.900056 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/18/image_12122025_06_18_55_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/06/13/image_12122025_06_13_35_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/06/13/image_12122025_06_13_24_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/06/12/image_12122025_06_12_34_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/06/12/image_12122025_06_12_25_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/06/06/image_12122025_06_06_55_10596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:29:32.696224 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/18/image_12122025_06_18_55_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/06/13/image_12122025_06_13_35_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/06/13/image_12122025_06_13_24_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/06/12/image_12122025_06_12_34_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/06/12/image_12122025_06_12_25_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/06/06/image_12122025_06_06_55_10596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:30:02.143905 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/18/image_12122025_06_18_55_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/06/13/image_12122025_06_13_35_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/06/13/image_12122025_06_13_24_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/06/12/image_12122025_06_12_34_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/06/12/image_12122025_06_12_25_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/06/06/image_12122025_06_06_55_10596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:30:31.810489 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/18/image_12122025_06_18_55_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/06/13/image_12122025_06_13_35_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/06/13/image_12122025_06_13_24_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/06/12/image_12122025_06_12_34_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/06/12/image_12122025_06_12_25_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/06/06/image_12122025_06_06_55_10596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:31:02.640951 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/18/image_12122025_06_18_55_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/06/13/image_12122025_06_13_35_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/06/13/image_12122025_06_13_24_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/06/12/image_12122025_06_12_34_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/06/12/image_12122025_06_12_25_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/06/06/image_12122025_06_06_55_10596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:31:31.914944 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/31/image_12122025_06_31_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/06/31/image_12122025_06_31_25_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/06/18/image_12122025_06_19_04_9594.jpg', 2), ('/home/nano/Desktop/images/12122025/06/18/image_12122025_06_18_55_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/06/13/image_12122025_06_13_35_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/06/13/image_12122025_06_13_24_9585.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:32:02.494408 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/31/image_12122025_06_31_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/06/31/image_12122025_06_31_25_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/06/18/image_12122025_06_19_04_9594.jpg', 2), ('/home/nano/Desktop/images/12122025/06/18/image_12122025_06_18_55_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/06/13/image_12122025_06_13_35_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/06/13/image_12122025_06_13_24_9585.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:32:32.004213 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/31/image_12122025_06_31_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/06/31/image_12122025_06_31_25_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/06/18/image_12122025_06_19_04_9594.jpg', 2), ('/home/nano/Desktop/images/12122025/06/18/image_12122025_06_18_55_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/06/13/image_12122025_06_13_35_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/06/13/image_12122025_06_13_24_9585.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:33:02.974183 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/31/image_12122025_06_31_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/06/31/image_12122025_06_31_25_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/06/18/image_12122025_06_19_04_9594.jpg', 2), ('/home/nano/Desktop/images/12122025/06/18/image_12122025_06_18_55_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/06/13/image_12122025_06_13_35_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/06/13/image_12122025_06_13_24_9585.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:33:32.085772 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/33/image_12122025_06_33_25_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/06/33/image_12122025_06_33_14_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/06/32/image_12122025_06_33_05_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/06/31/image_12122025_06_31_45_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/06/31/image_12122025_06_31_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/06/31/image_12122025_06_31_25_9584.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:34:02.969496 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/33/image_12122025_06_33_25_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/06/33/image_12122025_06_33_14_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/06/32/image_12122025_06_33_05_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/06/31/image_12122025_06_31_45_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/06/31/image_12122025_06_31_34_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/06/31/image_12122025_06_31_25_9584.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:34:32.209853 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/33/image_12122025_06_34_04_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/06/33/image_12122025_06_33_55_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/06/33/image_12122025_06_33_25_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/06/33/image_12122025_06_33_14_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/06/32/image_12122025_06_33_05_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/06/31/image_12122025_06_31_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:35:02.881297 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/33/image_12122025_06_34_04_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/06/33/image_12122025_06_33_55_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/06/33/image_12122025_06_33_25_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/06/33/image_12122025_06_33_14_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/06/32/image_12122025_06_33_05_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/06/31/image_12122025_06_31_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:35:32.331898 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/35/image_12122025_06_35_25_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/06/35/image_12122025_06_35_14_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/06/34/image_12122025_06_34_15_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/06/33/image_12122025_06_34_04_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/06/33/image_12122025_06_33_55_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/06/33/image_12122025_06_33_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:36:03.050040 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/35/image_12122025_06_35_25_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/06/35/image_12122025_06_35_14_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/06/34/image_12122025_06_34_15_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/06/33/image_12122025_06_34_04_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/06/33/image_12122025_06_33_55_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/06/33/image_12122025_06_33_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:36:32.470997 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/36/image_12122025_06_36_34_9590.jpg', 2), ('/home/nano/Desktop/images/12122025/06/36/image_12122025_06_36_25_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/06/36/image_12122025_06_36_15_10607.jpg', 2), ('/home/nano/Desktop/images/12122025/06/35/image_12122025_06_36_04_9593.jpg', 2), ('/home/nano/Desktop/images/12122025/06/35/image_12122025_06_35_55_10591.jpg', 2), ('/home/nano/Desktop/images/12122025/06/35/image_12122025_06_35_25_10593.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:37:03.174421 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/36/image_12122025_06_36_34_9590.jpg', 2), ('/home/nano/Desktop/images/12122025/06/36/image_12122025_06_36_25_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/06/36/image_12122025_06_36_15_10607.jpg', 2), ('/home/nano/Desktop/images/12122025/06/35/image_12122025_06_36_04_9593.jpg', 2), ('/home/nano/Desktop/images/12122025/06/35/image_12122025_06_35_55_10591.jpg', 2), ('/home/nano/Desktop/images/12122025/06/35/image_12122025_06_35_25_10593.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:37:32.591522 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/36/image_12122025_06_36_34_9590.jpg', 2), ('/home/nano/Desktop/images/12122025/06/36/image_12122025_06_36_25_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/06/36/image_12122025_06_36_15_10607.jpg', 2), ('/home/nano/Desktop/images/12122025/06/35/image_12122025_06_36_04_9593.jpg', 2), ('/home/nano/Desktop/images/12122025/06/35/image_12122025_06_35_55_10591.jpg', 2), ('/home/nano/Desktop/images/12122025/06/35/image_12122025_06_35_25_10593.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:38:03.186707 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/36/image_12122025_06_36_34_9590.jpg', 2), ('/home/nano/Desktop/images/12122025/06/36/image_12122025_06_36_25_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/06/36/image_12122025_06_36_15_10607.jpg', 2), ('/home/nano/Desktop/images/12122025/06/35/image_12122025_06_36_04_9593.jpg', 2), ('/home/nano/Desktop/images/12122025/06/35/image_12122025_06_35_55_10591.jpg', 2), ('/home/nano/Desktop/images/12122025/06/35/image_12122025_06_35_25_10593.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:38:32.659238 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/38/image_12122025_06_38_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/06/36/image_12122025_06_36_54_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/06/36/image_12122025_06_36_34_9590.jpg', 2), ('/home/nano/Desktop/images/12122025/06/36/image_12122025_06_36_25_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/06/36/image_12122025_06_36_15_10607.jpg', 2), ('/home/nano/Desktop/images/12122025/06/35/image_12122025_06_36_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:39:02.654468 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/38/image_12122025_06_38_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/06/36/image_12122025_06_36_54_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/06/36/image_12122025_06_36_34_9590.jpg', 2), ('/home/nano/Desktop/images/12122025/06/36/image_12122025_06_36_25_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/06/36/image_12122025_06_36_15_10607.jpg', 2), ('/home/nano/Desktop/images/12122025/06/35/image_12122025_06_36_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:39:31.801196 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/38/image_12122025_06_38_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/06/36/image_12122025_06_36_54_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/06/36/image_12122025_06_36_34_9590.jpg', 2), ('/home/nano/Desktop/images/12122025/06/36/image_12122025_06_36_25_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/06/36/image_12122025_06_36_15_10607.jpg', 2), ('/home/nano/Desktop/images/12122025/06/35/image_12122025_06_36_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:40:02.556209 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/38/image_12122025_06_38_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/06/36/image_12122025_06_36_54_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/06/36/image_12122025_06_36_34_9590.jpg', 2), ('/home/nano/Desktop/images/12122025/06/36/image_12122025_06_36_25_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/06/36/image_12122025_06_36_15_10607.jpg', 2), ('/home/nano/Desktop/images/12122025/06/35/image_12122025_06_36_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:40:31.902489 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/39/image_12122025_06_40_05_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/06/38/image_12122025_06_38_25_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/06/38/image_12122025_06_38_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/06/36/image_12122025_06_36_54_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/06/36/image_12122025_06_36_34_9590.jpg', 2), ('/home/nano/Desktop/images/12122025/06/36/image_12122025_06_36_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:41:02.557383 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/39/image_12122025_06_40_05_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/06/38/image_12122025_06_38_25_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/06/38/image_12122025_06_38_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/06/36/image_12122025_06_36_54_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/06/36/image_12122025_06_36_34_9590.jpg', 2), ('/home/nano/Desktop/images/12122025/06/36/image_12122025_06_36_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:41:31.999667 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/40/image_12122025_06_41_04_9591.jpg', 2), ('/home/nano/Desktop/images/12122025/06/40/image_12122025_06_40_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/06/39/image_12122025_06_40_05_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/06/38/image_12122025_06_38_25_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/06/38/image_12122025_06_38_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/06/36/image_12122025_06_36_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:42:02.592367 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/40/image_12122025_06_41_04_9591.jpg', 2), ('/home/nano/Desktop/images/12122025/06/40/image_12122025_06_40_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/06/39/image_12122025_06_40_05_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/06/38/image_12122025_06_38_25_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/06/38/image_12122025_06_38_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/06/36/image_12122025_06_36_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:42:32.092491 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/41/image_12122025_06_42_05_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/06/41/image_12122025_06_41_24_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/06/40/image_12122025_06_41_04_9591.jpg', 2), ('/home/nano/Desktop/images/12122025/06/40/image_12122025_06_40_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/06/39/image_12122025_06_40_05_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/06/38/image_12122025_06_38_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:43:02.958305 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/41/image_12122025_06_42_05_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/06/41/image_12122025_06_41_24_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/06/40/image_12122025_06_41_04_9591.jpg', 2), ('/home/nano/Desktop/images/12122025/06/40/image_12122025_06_40_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/06/39/image_12122025_06_40_05_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/06/38/image_12122025_06_38_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:43:32.215780 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/43/image_12122025_06_43_45_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/06/43/image_12122025_06_43_14_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/06/42/image_12122025_06_43_04_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/06/42/image_12122025_06_42_15_9593.jpg', 2), ('/home/nano/Desktop/images/12122025/06/41/image_12122025_06_42_05_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/06/41/image_12122025_06_41_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:44:03.161375 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/43/image_12122025_06_43_45_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/06/43/image_12122025_06_43_14_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/06/42/image_12122025_06_43_04_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/06/42/image_12122025_06_42_15_9593.jpg', 2), ('/home/nano/Desktop/images/12122025/06/41/image_12122025_06_42_05_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/06/41/image_12122025_06_41_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:44:32.303739 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/44/image_12122025_06_44_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/06/43/image_12122025_06_43_54_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/06/43/image_12122025_06_43_45_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/06/43/image_12122025_06_43_14_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/06/42/image_12122025_06_43_04_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/06/42/image_12122025_06_42_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:45:03.090423 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/44/image_12122025_06_44_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/06/43/image_12122025_06_43_54_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/06/43/image_12122025_06_43_45_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/06/43/image_12122025_06_43_14_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/06/42/image_12122025_06_43_04_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/06/42/image_12122025_06_42_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:45:32.377393 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/45/image_12122025_06_45_25_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/06/44/image_12122025_06_44_35_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/06/44/image_12122025_06_44_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/06/43/image_12122025_06_43_54_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/06/43/image_12122025_06_43_45_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/06/43/image_12122025_06_43_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:46:03.100082 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/45/image_12122025_06_45_25_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/06/44/image_12122025_06_44_35_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/06/44/image_12122025_06_44_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/06/43/image_12122025_06_43_54_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/06/43/image_12122025_06_43_45_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/06/43/image_12122025_06_43_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:46:32.486258 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/46/image_12122025_06_46_15_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/06/45/image_12122025_06_45_35_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/06/45/image_12122025_06_45_25_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/06/44/image_12122025_06_44_35_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/06/44/image_12122025_06_44_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/06/43/image_12122025_06_43_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:47:03.320622 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/46/image_12122025_06_46_15_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/06/45/image_12122025_06_45_35_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/06/45/image_12122025_06_45_25_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/06/44/image_12122025_06_44_35_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/06/44/image_12122025_06_44_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/06/43/image_12122025_06_43_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:47:32.570845 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/46/image_12122025_06_46_15_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/06/45/image_12122025_06_45_35_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/06/45/image_12122025_06_45_25_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/06/44/image_12122025_06_44_35_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/06/44/image_12122025_06_44_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/06/43/image_12122025_06_43_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:48:03.174177 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/46/image_12122025_06_46_15_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/06/45/image_12122025_06_45_35_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/06/45/image_12122025_06_45_25_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/06/44/image_12122025_06_44_35_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/06/44/image_12122025_06_44_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/06/43/image_12122025_06_43_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:48:32.661961 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/48/image_12122025_06_48_45_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/06/48/image_12122025_06_48_34_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/06/46/image_12122025_06_46_25_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/06/46/image_12122025_06_46_15_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/06/45/image_12122025_06_45_35_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/06/45/image_12122025_06_45_25_10596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:49:03.527701 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/48/image_12122025_06_48_45_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/06/48/image_12122025_06_48_34_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/06/46/image_12122025_06_46_25_9588.jpg', 2), ('/home/nano/Desktop/images/12122025/06/46/image_12122025_06_46_15_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/06/45/image_12122025_06_45_35_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/06/45/image_12122025_06_45_25_10596.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:49:32.750728 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/49/image_12122025_06_49_45_9643.jpg', 2), ('/home/nano/Desktop/images/12122025/06/49/image_12122025_06_49_35_10622.jpg', 2), ('/home/nano/Desktop/images/12122025/06/49/image_12122025_06_49_24_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/06/49/image_12122025_06_49_15_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/06/48/image_12122025_06_49_05_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/06/48/image_12122025_06_48_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:50:02.368478 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/49/image_12122025_06_49_45_9643.jpg', 2), ('/home/nano/Desktop/images/12122025/06/49/image_12122025_06_49_35_10622.jpg', 2), ('/home/nano/Desktop/images/12122025/06/49/image_12122025_06_49_24_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/06/49/image_12122025_06_49_15_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/06/48/image_12122025_06_49_05_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/06/48/image_12122025_06_48_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:50:31.876263 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/50/image_12122025_06_50_44_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/06/50/image_12122025_06_50_35_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/06/50/image_12122025_06_50_25_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/06/49/image_12122025_06_50_05_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/06/49/image_12122025_06_49_54_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/06/49/image_12122025_06_49_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:51:02.714647 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/50/image_12122025_06_50_44_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/06/50/image_12122025_06_50_35_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/06/50/image_12122025_06_50_25_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/06/49/image_12122025_06_50_05_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/06/49/image_12122025_06_49_54_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/06/49/image_12122025_06_49_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:51:32.001813 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/51/image_12122025_06_51_45_10658.jpg', 2), ('/home/nano/Desktop/images/12122025/06/51/image_12122025_06_51_34_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/06/51/image_12122025_06_51_25_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/06/51/image_12122025_06_51_15_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/06/50/image_12122025_06_51_04_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/06/50/image_12122025_06_50_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:52:02.580544 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/51/image_12122025_06_51_45_10658.jpg', 2), ('/home/nano/Desktop/images/12122025/06/51/image_12122025_06_51_34_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/06/51/image_12122025_06_51_25_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/06/51/image_12122025_06_51_15_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/06/50/image_12122025_06_51_04_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/06/50/image_12122025_06_50_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:52:32.108732 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/52/image_12122025_06_52_45_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/06/52/image_12122025_06_52_35_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/06/52/image_12122025_06_52_15_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/06/51/image_12122025_06_51_55_9614.jpg', 2), ('/home/nano/Desktop/images/12122025/06/51/image_12122025_06_51_45_10658.jpg', 2), ('/home/nano/Desktop/images/12122025/06/51/image_12122025_06_51_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:53:02.958587 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/52/image_12122025_06_52_45_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/06/52/image_12122025_06_52_35_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/06/52/image_12122025_06_52_15_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/06/51/image_12122025_06_51_55_9614.jpg', 2), ('/home/nano/Desktop/images/12122025/06/51/image_12122025_06_51_45_10658.jpg', 2), ('/home/nano/Desktop/images/12122025/06/51/image_12122025_06_51_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:53:32.208565 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/53/image_12122025_06_53_44_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/06/53/image_12122025_06_53_35_10616.jpg', 2), ('/home/nano/Desktop/images/12122025/06/53/image_12122025_06_53_24_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/06/53/image_12122025_06_53_15_9631.jpg', 2), ('/home/nano/Desktop/images/12122025/06/52/image_12122025_06_53_05_10626.jpg', 2), ('/home/nano/Desktop/images/12122025/06/52/image_12122025_06_52_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:54:02.890720 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/53/image_12122025_06_53_44_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/06/53/image_12122025_06_53_35_10616.jpg', 2), ('/home/nano/Desktop/images/12122025/06/53/image_12122025_06_53_24_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/06/53/image_12122025_06_53_15_9631.jpg', 2), ('/home/nano/Desktop/images/12122025/06/52/image_12122025_06_53_05_10626.jpg', 2), ('/home/nano/Desktop/images/12122025/06/52/image_12122025_06_52_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:54:32.315990 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/54/image_12122025_06_54_45_10624.jpg', 2), ('/home/nano/Desktop/images/12122025/06/54/image_12122025_06_54_34_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/06/54/image_12122025_06_54_25_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/06/54/image_12122025_06_54_14_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/06/53/image_12122025_06_54_05_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/06/53/image_12122025_06_53_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:55:03.121106 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/54/image_12122025_06_54_45_10624.jpg', 2), ('/home/nano/Desktop/images/12122025/06/54/image_12122025_06_54_34_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/06/54/image_12122025_06_54_25_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/06/54/image_12122025_06_54_14_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/06/53/image_12122025_06_54_05_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/06/53/image_12122025_06_53_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:55:32.396162 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/55/image_12122025_06_55_45_10617.jpg', 2), ('/home/nano/Desktop/images/12122025/06/55/image_12122025_06_55_25_9616.jpg', 2), ('/home/nano/Desktop/images/12122025/06/55/image_12122025_06_55_15_10652.jpg', 2), ('/home/nano/Desktop/images/12122025/06/54/image_12122025_06_55_04_9646.jpg', 2), ('/home/nano/Desktop/images/12122025/06/54/image_12122025_06_54_55_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/06/54/image_12122025_06_54_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:56:02.894009 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/55/image_12122025_06_55_45_10617.jpg', 2), ('/home/nano/Desktop/images/12122025/06/55/image_12122025_06_55_25_9616.jpg', 2), ('/home/nano/Desktop/images/12122025/06/55/image_12122025_06_55_15_10652.jpg', 2), ('/home/nano/Desktop/images/12122025/06/54/image_12122025_06_55_04_9646.jpg', 2), ('/home/nano/Desktop/images/12122025/06/54/image_12122025_06_54_55_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/06/54/image_12122025_06_54_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:56:32.498181 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/56/image_12122025_06_56_45_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/06/56/image_12122025_06_56_35_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/06/56/image_12122025_06_56_24_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/06/56/image_12122025_06_56_15_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/06/55/image_12122025_06_56_05_10628.jpg', 2), ('/home/nano/Desktop/images/12122025/06/55/image_12122025_06_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:57:03.292480 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/56/image_12122025_06_56_45_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/06/56/image_12122025_06_56_35_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/06/56/image_12122025_06_56_24_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/06/56/image_12122025_06_56_15_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/06/55/image_12122025_06_56_05_10628.jpg', 2), ('/home/nano/Desktop/images/12122025/06/55/image_12122025_06_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:57:32.583406 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/57/image_12122025_06_57_45_9724.jpg', 2), ('/home/nano/Desktop/images/12122025/06/57/image_12122025_06_57_35_10668.jpg', 2), ('/home/nano/Desktop/images/12122025/06/57/image_12122025_06_57_24_9678.jpg', 2), ('/home/nano/Desktop/images/12122025/06/57/image_12122025_06_57_14_9702.jpg', 2), ('/home/nano/Desktop/images/12122025/06/56/image_12122025_06_57_05_10618.jpg', 2), ('/home/nano/Desktop/images/12122025/06/56/image_12122025_06_56_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:58:03.010362 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/57/image_12122025_06_57_45_9724.jpg', 2), ('/home/nano/Desktop/images/12122025/06/57/image_12122025_06_57_35_10668.jpg', 2), ('/home/nano/Desktop/images/12122025/06/57/image_12122025_06_57_24_9678.jpg', 2), ('/home/nano/Desktop/images/12122025/06/57/image_12122025_06_57_14_9702.jpg', 2), ('/home/nano/Desktop/images/12122025/06/56/image_12122025_06_57_05_10618.jpg', 2), ('/home/nano/Desktop/images/12122025/06/56/image_12122025_06_56_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:59:03.877641 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/57/image_12122025_06_57_45_9724.jpg', 2), ('/home/nano/Desktop/images/12122025/06/57/image_12122025_06_57_35_10668.jpg', 2), ('/home/nano/Desktop/images/12122025/06/57/image_12122025_06_57_24_9678.jpg', 2), ('/home/nano/Desktop/images/12122025/06/57/image_12122025_06_57_14_9702.jpg', 2), ('/home/nano/Desktop/images/12122025/06/56/image_12122025_06_57_05_10618.jpg', 2), ('/home/nano/Desktop/images/12122025/06/56/image_12122025_06_56_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 06:59:32.648686 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/59/image_12122025_06_59_14_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/06/58/image_12122025_06_59_05_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/06/58/image_12122025_06_58_55_10617.jpg', 2), ('/home/nano/Desktop/images/12122025/06/58/image_12122025_06_58_44_9632.jpg', 2), ('/home/nano/Desktop/images/12122025/06/58/image_12122025_06_58_35_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/06/58/image_12122025_06_58_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:00:02.141009 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/06/59/image_12122025_06_59_14_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/06/58/image_12122025_06_59_05_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/06/58/image_12122025_06_58_55_10617.jpg', 2), ('/home/nano/Desktop/images/12122025/06/58/image_12122025_06_58_44_9632.jpg', 2), ('/home/nano/Desktop/images/12122025/06/58/image_12122025_06_58_35_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/06/58/image_12122025_06_58_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:00:31.757087 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/00/image_12122025_07_00_34_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/07/00/image_12122025_07_00_25_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/06/59/image_12122025_06_59_25_10620.jpg', 2), ('/home/nano/Desktop/images/12122025/06/59/image_12122025_06_59_14_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/06/58/image_12122025_06_59_05_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/06/58/image_12122025_06_58_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:01:02.604261 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/00/image_12122025_07_01_04_9643.jpg', 2), ('/home/nano/Desktop/images/12122025/07/00/image_12122025_07_00_34_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/07/00/image_12122025_07_00_25_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/06/59/image_12122025_06_59_25_10620.jpg', 2), ('/home/nano/Desktop/images/12122025/06/59/image_12122025_06_59_14_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/06/58/image_12122025_06_59_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:01:31.854174 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/01/image_12122025_07_01_45_10765.jpg', 2), ('/home/nano/Desktop/images/12122025/07/01/image_12122025_07_01_34_9655.jpg', 2), ('/home/nano/Desktop/images/12122025/07/01/image_12122025_07_01_24_9631.jpg', 2), ('/home/nano/Desktop/images/12122025/07/01/image_12122025_07_01_15_10676.jpg', 2), ('/home/nano/Desktop/images/12122025/07/00/image_12122025_07_01_04_9643.jpg', 2), ('/home/nano/Desktop/images/12122025/07/00/image_12122025_07_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:02:02.502601 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/01/image_12122025_07_01_45_10765.jpg', 2), ('/home/nano/Desktop/images/12122025/07/01/image_12122025_07_01_34_9655.jpg', 2), ('/home/nano/Desktop/images/12122025/07/01/image_12122025_07_01_24_9631.jpg', 2), ('/home/nano/Desktop/images/12122025/07/01/image_12122025_07_01_15_10676.jpg', 2), ('/home/nano/Desktop/images/12122025/07/00/image_12122025_07_01_04_9643.jpg', 2), ('/home/nano/Desktop/images/12122025/07/00/image_12122025_07_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:02:31.961183 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/02/image_12122025_07_02_45_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/07/02/image_12122025_07_02_35_10625.jpg', 2), ('/home/nano/Desktop/images/12122025/07/02/image_12122025_07_02_24_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/07/02/image_12122025_07_02_15_10647.jpg', 2), ('/home/nano/Desktop/images/12122025/07/01/image_12122025_07_02_04_9645.jpg', 2), ('/home/nano/Desktop/images/12122025/07/01/image_12122025_07_01_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:03:02.919813 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/02/image_12122025_07_02_45_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/07/02/image_12122025_07_02_35_10625.jpg', 2), ('/home/nano/Desktop/images/12122025/07/02/image_12122025_07_02_24_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/07/02/image_12122025_07_02_15_10647.jpg', 2), ('/home/nano/Desktop/images/12122025/07/01/image_12122025_07_02_04_9645.jpg', 2), ('/home/nano/Desktop/images/12122025/07/01/image_12122025_07_01_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:03:32.092375 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/03/image_12122025_07_03_44_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/07/03/image_12122025_07_03_35_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/07/03/image_12122025_07_03_24_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/07/03/image_12122025_07_03_15_9616.jpg', 2), ('/home/nano/Desktop/images/12122025/07/02/image_12122025_07_03_05_10637.jpg', 2), ('/home/nano/Desktop/images/12122025/07/02/image_12122025_07_02_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:04:03.112244 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/03/image_12122025_07_03_44_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/07/03/image_12122025_07_03_35_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/07/03/image_12122025_07_03_24_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/07/03/image_12122025_07_03_15_9616.jpg', 2), ('/home/nano/Desktop/images/12122025/07/02/image_12122025_07_03_05_10637.jpg', 2), ('/home/nano/Desktop/images/12122025/07/02/image_12122025_07_02_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:04:32.172977 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/04/image_12122025_07_04_45_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/07/04/image_12122025_07_04_25_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/07/04/image_12122025_07_04_14_9616.jpg', 2), ('/home/nano/Desktop/images/12122025/07/03/image_12122025_07_04_05_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/07/03/image_12122025_07_03_55_10610.jpg', 2), ('/home/nano/Desktop/images/12122025/07/03/image_12122025_07_03_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:05:02.991755 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/04/image_12122025_07_04_45_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/07/04/image_12122025_07_04_25_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/07/04/image_12122025_07_04_14_9616.jpg', 2), ('/home/nano/Desktop/images/12122025/07/03/image_12122025_07_04_05_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/07/03/image_12122025_07_03_55_10610.jpg', 2), ('/home/nano/Desktop/images/12122025/07/03/image_12122025_07_03_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:05:32.283266 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/05/image_12122025_07_05_45_10624.jpg', 2), ('/home/nano/Desktop/images/12122025/07/05/image_12122025_07_05_34_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/07/05/image_12122025_07_05_25_9611.jpg', 2), ('/home/nano/Desktop/images/12122025/07/05/image_12122025_07_05_15_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/07/04/image_12122025_07_05_04_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/07/04/image_12122025_07_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:06:02.927371 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/05/image_12122025_07_05_45_10624.jpg', 2), ('/home/nano/Desktop/images/12122025/07/05/image_12122025_07_05_34_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/07/05/image_12122025_07_05_25_9611.jpg', 2), ('/home/nano/Desktop/images/12122025/07/05/image_12122025_07_05_15_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/07/04/image_12122025_07_05_04_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/07/04/image_12122025_07_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:06:32.389097 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/06/image_12122025_07_06_45_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/07/06/image_12122025_07_06_35_10753.jpg', 2), ('/home/nano/Desktop/images/12122025/07/06/image_12122025_07_06_24_9616.jpg', 2), ('/home/nano/Desktop/images/12122025/07/06/image_12122025_07_06_15_9665.jpg', 2), ('/home/nano/Desktop/images/12122025/07/05/image_12122025_07_06_05_10617.jpg', 2), ('/home/nano/Desktop/images/12122025/07/05/image_12122025_07_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:07:03.193442 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/06/image_12122025_07_06_45_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/07/06/image_12122025_07_06_35_10753.jpg', 2), ('/home/nano/Desktop/images/12122025/07/06/image_12122025_07_06_24_9616.jpg', 2), ('/home/nano/Desktop/images/12122025/07/06/image_12122025_07_06_15_9665.jpg', 2), ('/home/nano/Desktop/images/12122025/07/05/image_12122025_07_06_05_10617.jpg', 2), ('/home/nano/Desktop/images/12122025/07/05/image_12122025_07_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:07:32.490745 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/07/image_12122025_07_07_45_10692.jpg', 2), ('/home/nano/Desktop/images/12122025/07/07/image_12122025_07_07_34_9616.jpg', 2), ('/home/nano/Desktop/images/12122025/07/07/image_12122025_07_07_25_9712.jpg', 2), ('/home/nano/Desktop/images/12122025/07/07/image_12122025_07_07_15_9724.jpg', 2), ('/home/nano/Desktop/images/12122025/07/06/image_12122025_07_07_05_10725.jpg', 2), ('/home/nano/Desktop/images/12122025/07/06/image_12122025_07_06_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:08:03.125440 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/07/image_12122025_07_07_45_10692.jpg', 2), ('/home/nano/Desktop/images/12122025/07/07/image_12122025_07_07_34_9616.jpg', 2), ('/home/nano/Desktop/images/12122025/07/07/image_12122025_07_07_25_9712.jpg', 2), ('/home/nano/Desktop/images/12122025/07/07/image_12122025_07_07_15_9724.jpg', 2), ('/home/nano/Desktop/images/12122025/07/06/image_12122025_07_07_05_10725.jpg', 2), ('/home/nano/Desktop/images/12122025/07/06/image_12122025_07_06_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:08:32.642869 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/08/image_12122025_07_08_45_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/07/08/image_12122025_07_08_35_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/07/08/image_12122025_07_08_24_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/07/08/image_12122025_07_08_15_10683.jpg', 2), ('/home/nano/Desktop/images/12122025/07/07/image_12122025_07_08_04_9631.jpg', 2), ('/home/nano/Desktop/images/12122025/07/07/image_12122025_07_07_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:09:03.738177 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/08/image_12122025_07_08_45_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/07/08/image_12122025_07_08_35_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/07/08/image_12122025_07_08_24_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/07/08/image_12122025_07_08_15_10683.jpg', 2), ('/home/nano/Desktop/images/12122025/07/07/image_12122025_07_08_04_9631.jpg', 2), ('/home/nano/Desktop/images/12122025/07/07/image_12122025_07_07_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:09:32.707503 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/09/image_12122025_07_09_44_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/07/09/image_12122025_07_09_35_10618.jpg', 2), ('/home/nano/Desktop/images/12122025/07/09/image_12122025_07_09_24_9631.jpg', 2), ('/home/nano/Desktop/images/12122025/07/09/image_12122025_07_09_15_9636.jpg', 2), ('/home/nano/Desktop/images/12122025/07/08/image_12122025_07_08_54_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/07/08/image_12122025_07_08_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:10:02.331238 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/10/image_12122025_07_10_14_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/07/09/image_12122025_07_09_44_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/07/09/image_12122025_07_09_35_10618.jpg', 2), ('/home/nano/Desktop/images/12122025/07/09/image_12122025_07_09_24_9631.jpg', 2), ('/home/nano/Desktop/images/12122025/07/09/image_12122025_07_09_15_9636.jpg', 2), ('/home/nano/Desktop/images/12122025/07/08/image_12122025_07_08_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:10:31.821761 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/10/image_12122025_07_10_44_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/07/10/image_12122025_07_10_25_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/07/10/image_12122025_07_10_14_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/07/09/image_12122025_07_10_05_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/07/09/image_12122025_07_09_55_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/07/09/image_12122025_07_09_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:11:02.546649 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/10/image_12122025_07_10_44_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/07/10/image_12122025_07_10_25_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/07/10/image_12122025_07_10_14_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/07/09/image_12122025_07_10_05_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/07/09/image_12122025_07_09_55_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/07/09/image_12122025_07_09_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:11:31.915411 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/11/image_12122025_07_11_45_10618.jpg', 2), ('/home/nano/Desktop/images/12122025/07/11/image_12122025_07_11_25_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/07/11/image_12122025_07_11_15_10649.jpg', 2), ('/home/nano/Desktop/images/12122025/07/10/image_12122025_07_11_04_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/07/10/image_12122025_07_10_55_10618.jpg', 2), ('/home/nano/Desktop/images/12122025/07/10/image_12122025_07_10_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:12:02.569822 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/11/image_12122025_07_11_45_10618.jpg', 2), ('/home/nano/Desktop/images/12122025/07/11/image_12122025_07_11_25_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/07/11/image_12122025_07_11_15_10649.jpg', 2), ('/home/nano/Desktop/images/12122025/07/10/image_12122025_07_11_04_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/07/10/image_12122025_07_10_55_10618.jpg', 2), ('/home/nano/Desktop/images/12122025/07/10/image_12122025_07_10_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:12:32.012401 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/12/image_12122025_07_12_45_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/07/12/image_12122025_07_12_35_10618.jpg', 2), ('/home/nano/Desktop/images/12122025/07/12/image_12122025_07_12_24_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/07/12/image_12122025_07_12_15_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/07/11/image_12122025_07_12_05_10627.jpg', 2), ('/home/nano/Desktop/images/12122025/07/11/image_12122025_07_11_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:13:02.716820 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/12/image_12122025_07_12_45_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/07/12/image_12122025_07_12_35_10618.jpg', 2), ('/home/nano/Desktop/images/12122025/07/12/image_12122025_07_12_24_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/07/12/image_12122025_07_12_15_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/07/11/image_12122025_07_12_05_10627.jpg', 2), ('/home/nano/Desktop/images/12122025/07/11/image_12122025_07_11_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:13:32.111480 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/13/image_12122025_07_13_44_9614.jpg', 2), ('/home/nano/Desktop/images/12122025/07/13/image_12122025_07_13_35_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/07/13/image_12122025_07_13_25_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/07/13/image_12122025_07_13_14_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/07/12/image_12122025_07_13_05_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/07/12/image_12122025_07_12_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:14:03.035531 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/13/image_12122025_07_13_44_9614.jpg', 2), ('/home/nano/Desktop/images/12122025/07/13/image_12122025_07_13_35_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/07/13/image_12122025_07_13_25_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/07/13/image_12122025_07_13_14_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/07/12/image_12122025_07_13_05_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/07/12/image_12122025_07_12_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:14:32.204668 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/14/image_12122025_07_14_45_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/07/14/image_12122025_07_14_34_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/07/14/image_12122025_07_14_25_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/07/14/image_12122025_07_14_15_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/07/13/image_12122025_07_13_55_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/07/13/image_12122025_07_13_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:15:03.186345 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/14/image_12122025_07_14_45_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/07/14/image_12122025_07_14_34_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/07/14/image_12122025_07_14_25_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/07/14/image_12122025_07_14_15_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/07/13/image_12122025_07_13_55_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/07/13/image_12122025_07_13_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:15:32.390634 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/15/image_12122025_07_15_45_9649.jpg', 2), ('/home/nano/Desktop/images/12122025/07/15/image_12122025_07_15_35_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/07/15/image_12122025_07_15_24_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/07/15/image_12122025_07_15_15_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/07/14/image_12122025_07_15_04_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/07/14/image_12122025_07_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:16:03.032046 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/15/image_12122025_07_15_45_9649.jpg', 2), ('/home/nano/Desktop/images/12122025/07/15/image_12122025_07_15_35_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/07/15/image_12122025_07_15_24_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/07/15/image_12122025_07_15_15_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/07/14/image_12122025_07_15_04_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/07/14/image_12122025_07_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:16:32.551123 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/16/image_12122025_07_16_44_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/07/16/image_12122025_07_16_35_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/07/16/image_12122025_07_16_15_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/07/15/image_12122025_07_16_05_10627.jpg', 2), ('/home/nano/Desktop/images/12122025/07/15/image_12122025_07_15_54_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/07/15/image_12122025_07_15_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:17:03.391358 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/16/image_12122025_07_16_44_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/07/16/image_12122025_07_16_35_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/07/16/image_12122025_07_16_15_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/07/15/image_12122025_07_16_05_10627.jpg', 2), ('/home/nano/Desktop/images/12122025/07/15/image_12122025_07_15_54_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/07/15/image_12122025_07_15_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:17:32.638192 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/17/image_12122025_07_17_45_10617.jpg', 2), ('/home/nano/Desktop/images/12122025/07/17/image_12122025_07_17_34_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/07/17/image_12122025_07_17_25_10616.jpg', 2), ('/home/nano/Desktop/images/12122025/07/17/image_12122025_07_17_14_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/07/16/image_12122025_07_17_05_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/07/16/image_12122025_07_16_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:18:03.312688 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/17/image_12122025_07_17_45_10617.jpg', 2), ('/home/nano/Desktop/images/12122025/07/17/image_12122025_07_17_34_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/07/17/image_12122025_07_17_25_10616.jpg', 2), ('/home/nano/Desktop/images/12122025/07/17/image_12122025_07_17_14_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/07/16/image_12122025_07_17_05_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/07/16/image_12122025_07_16_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:18:32.739833 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/18/image_12122025_07_18_34_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/07/18/image_12122025_07_18_25_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/07/18/image_12122025_07_18_15_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/07/17/image_12122025_07_18_04_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/07/17/image_12122025_07_17_55_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/07/17/image_12122025_07_17_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:19:02.847956 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/18/image_12122025_07_18_34_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/07/18/image_12122025_07_18_25_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/07/18/image_12122025_07_18_15_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/07/17/image_12122025_07_18_04_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/07/17/image_12122025_07_17_55_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/07/17/image_12122025_07_17_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:19:31.890209 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/19/image_12122025_07_19_44_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/07/19/image_12122025_07_19_35_10620.jpg', 2), ('/home/nano/Desktop/images/12122025/07/19/image_12122025_07_19_24_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/07/19/image_12122025_07_19_15_9636.jpg', 2), ('/home/nano/Desktop/images/12122025/07/18/image_12122025_07_18_54_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/07/18/image_12122025_07_18_34_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:20:02.413142 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/19/image_12122025_07_19_44_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/07/19/image_12122025_07_19_35_10620.jpg', 2), ('/home/nano/Desktop/images/12122025/07/19/image_12122025_07_19_24_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/07/19/image_12122025_07_19_15_9636.jpg', 2), ('/home/nano/Desktop/images/12122025/07/18/image_12122025_07_18_54_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/07/18/image_12122025_07_18_34_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:20:31.948148 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/20/image_12122025_07_20_35_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/07/20/image_12122025_07_20_25_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/07/20/image_12122025_07_20_14_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/07/19/image_12122025_07_20_05_9649.jpg', 2), ('/home/nano/Desktop/images/12122025/07/19/image_12122025_07_19_55_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/07/19/image_12122025_07_19_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:21:02.681647 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/20/image_12122025_07_20_35_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/07/20/image_12122025_07_20_25_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/07/20/image_12122025_07_20_14_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/07/19/image_12122025_07_20_05_9649.jpg', 2), ('/home/nano/Desktop/images/12122025/07/19/image_12122025_07_19_55_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/07/19/image_12122025_07_19_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:21:32.060866 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/21/image_12122025_07_21_45_10617.jpg', 2), ('/home/nano/Desktop/images/12122025/07/21/image_12122025_07_21_34_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/07/21/image_12122025_07_21_25_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/07/21/image_12122025_07_21_15_10650.jpg', 2), ('/home/nano/Desktop/images/12122025/07/20/image_12122025_07_21_04_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/07/20/image_12122025_07_20_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:22:02.796837 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/21/image_12122025_07_21_45_10617.jpg', 2), ('/home/nano/Desktop/images/12122025/07/21/image_12122025_07_21_34_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/07/21/image_12122025_07_21_25_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/07/21/image_12122025_07_21_15_10650.jpg', 2), ('/home/nano/Desktop/images/12122025/07/20/image_12122025_07_21_04_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/07/20/image_12122025_07_20_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:22:32.164308 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/22/image_12122025_07_22_45_9611.jpg', 2), ('/home/nano/Desktop/images/12122025/07/22/image_12122025_07_22_35_10616.jpg', 2), ('/home/nano/Desktop/images/12122025/07/22/image_12122025_07_22_24_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/07/22/image_12122025_07_22_15_10640.jpg', 2), ('/home/nano/Desktop/images/12122025/07/21/image_12122025_07_22_04_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/07/21/image_12122025_07_21_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:23:02.890454 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/22/image_12122025_07_22_45_9611.jpg', 2), ('/home/nano/Desktop/images/12122025/07/22/image_12122025_07_22_35_10616.jpg', 2), ('/home/nano/Desktop/images/12122025/07/22/image_12122025_07_22_24_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/07/22/image_12122025_07_22_15_10640.jpg', 2), ('/home/nano/Desktop/images/12122025/07/21/image_12122025_07_22_04_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/07/21/image_12122025_07_21_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:23:32.205863 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/23/image_12122025_07_23_44_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/07/23/image_12122025_07_23_35_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/07/23/image_12122025_07_23_25_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/07/23/image_12122025_07_23_14_9616.jpg', 2), ('/home/nano/Desktop/images/12122025/07/22/image_12122025_07_23_05_10618.jpg', 2), ('/home/nano/Desktop/images/12122025/07/22/image_12122025_07_22_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:24:03.220962 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/23/image_12122025_07_23_44_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/07/23/image_12122025_07_23_35_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/07/23/image_12122025_07_23_25_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/07/23/image_12122025_07_23_14_9616.jpg', 2), ('/home/nano/Desktop/images/12122025/07/22/image_12122025_07_23_05_10618.jpg', 2), ('/home/nano/Desktop/images/12122025/07/22/image_12122025_07_22_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:24:32.430988 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/24/image_12122025_07_24_45_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/07/24/image_12122025_07_24_34_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/07/24/image_12122025_07_24_25_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/07/24/image_12122025_07_24_14_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/07/23/image_12122025_07_24_05_9616.jpg', 2), ('/home/nano/Desktop/images/12122025/07/23/image_12122025_07_23_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:25:02.981661 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/24/image_12122025_07_24_45_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/07/24/image_12122025_07_24_34_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/07/24/image_12122025_07_24_25_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/07/24/image_12122025_07_24_14_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/07/23/image_12122025_07_24_05_9616.jpg', 2), ('/home/nano/Desktop/images/12122025/07/23/image_12122025_07_23_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:25:32.433289 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/25/image_12122025_07_25_45_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/07/25/image_12122025_07_25_35_10602.jpg', 2), ('/home/nano/Desktop/images/12122025/07/25/image_12122025_07_25_24_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/07/25/image_12122025_07_25_15_10621.jpg', 2), ('/home/nano/Desktop/images/12122025/07/24/image_12122025_07_25_04_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/07/24/image_12122025_07_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:26:03.090810 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/25/image_12122025_07_25_45_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/07/25/image_12122025_07_25_35_10602.jpg', 2), ('/home/nano/Desktop/images/12122025/07/25/image_12122025_07_25_24_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/07/25/image_12122025_07_25_15_10621.jpg', 2), ('/home/nano/Desktop/images/12122025/07/24/image_12122025_07_25_04_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/07/24/image_12122025_07_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:26:32.518347 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/26/image_12122025_07_26_44_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/07/26/image_12122025_07_26_35_10616.jpg', 2), ('/home/nano/Desktop/images/12122025/07/26/image_12122025_07_26_24_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/07/26/image_12122025_07_26_15_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/07/25/image_12122025_07_26_05_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/07/25/image_12122025_07_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:27:03.264937 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/26/image_12122025_07_26_44_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/07/26/image_12122025_07_26_35_10616.jpg', 2), ('/home/nano/Desktop/images/12122025/07/26/image_12122025_07_26_24_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/07/26/image_12122025_07_26_15_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/07/25/image_12122025_07_26_05_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/07/25/image_12122025_07_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:27:32.619452 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/27/image_12122025_07_27_45_10623.jpg', 2), ('/home/nano/Desktop/images/12122025/07/27/image_12122025_07_27_34_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/07/27/image_12122025_07_27_14_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/07/26/image_12122025_07_27_05_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/07/26/image_12122025_07_26_55_10618.jpg', 2), ('/home/nano/Desktop/images/12122025/07/26/image_12122025_07_26_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:28:03.237599 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/28/image_12122025_07_28_34_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/07/27/image_12122025_07_27_45_10623.jpg', 2), ('/home/nano/Desktop/images/12122025/07/27/image_12122025_07_27_34_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/07/27/image_12122025_07_27_14_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/07/26/image_12122025_07_27_05_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/07/26/image_12122025_07_26_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:28:32.702744 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/28/image_12122025_07_28_45_10616.jpg', 2), ('/home/nano/Desktop/images/12122025/07/28/image_12122025_07_28_34_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/07/28/image_12122025_07_28_25_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/07/28/image_12122025_07_28_15_10627.jpg', 2), ('/home/nano/Desktop/images/12122025/07/27/image_12122025_07_28_04_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/07/27/image_12122025_07_27_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:29:02.961324 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/28/image_12122025_07_28_45_10616.jpg', 2), ('/home/nano/Desktop/images/12122025/07/28/image_12122025_07_28_34_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/07/28/image_12122025_07_28_25_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/07/28/image_12122025_07_28_15_10627.jpg', 2), ('/home/nano/Desktop/images/12122025/07/27/image_12122025_07_28_04_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/07/27/image_12122025_07_27_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:29:31.869786 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/29/image_12122025_07_29_44_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/07/29/image_12122025_07_29_35_10605.jpg', 2), ('/home/nano/Desktop/images/12122025/07/29/image_12122025_07_29_24_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/07/29/image_12122025_07_29_15_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/07/28/image_12122025_07_29_05_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/07/28/image_12122025_07_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:30:02.533180 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/29/image_12122025_07_29_44_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/07/29/image_12122025_07_29_35_10605.jpg', 2), ('/home/nano/Desktop/images/12122025/07/29/image_12122025_07_29_24_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/07/29/image_12122025_07_29_15_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/07/28/image_12122025_07_29_05_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/07/28/image_12122025_07_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:30:31.938417 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/30/image_12122025_07_30_44_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/07/30/image_12122025_07_30_35_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/07/30/image_12122025_07_30_25_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/07/30/image_12122025_07_30_14_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/07/29/image_12122025_07_30_05_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/07/29/image_12122025_07_29_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:31:02.894445 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/30/image_12122025_07_30_44_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/07/30/image_12122025_07_30_35_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/07/30/image_12122025_07_30_25_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/07/30/image_12122025_07_30_14_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/07/29/image_12122025_07_30_05_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/07/29/image_12122025_07_29_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:31:32.180224 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/31/image_12122025_07_31_45_10624.jpg', 2), ('/home/nano/Desktop/images/12122025/07/31/image_12122025_07_31_34_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/07/31/image_12122025_07_31_25_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/07/31/image_12122025_07_31_15_10626.jpg', 2), ('/home/nano/Desktop/images/12122025/07/30/image_12122025_07_31_04_9611.jpg', 2), ('/home/nano/Desktop/images/12122025/07/30/image_12122025_07_30_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:32:02.807826 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/31/image_12122025_07_31_45_10624.jpg', 2), ('/home/nano/Desktop/images/12122025/07/31/image_12122025_07_31_34_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/07/31/image_12122025_07_31_25_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/07/31/image_12122025_07_31_15_10626.jpg', 2), ('/home/nano/Desktop/images/12122025/07/30/image_12122025_07_31_04_9611.jpg', 2), ('/home/nano/Desktop/images/12122025/07/30/image_12122025_07_30_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:32:32.282635 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/32/image_12122025_07_32_45_9909.jpg', 2), ('/home/nano/Desktop/images/12122025/07/32/image_12122025_07_32_35_10659.jpg', 2), ('/home/nano/Desktop/images/12122025/07/32/image_12122025_07_32_24_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/07/32/image_12122025_07_32_15_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/07/31/image_12122025_07_32_05_10651.jpg', 2), ('/home/nano/Desktop/images/12122025/07/31/image_12122025_07_31_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:33:02.972262 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/32/image_12122025_07_32_45_9909.jpg', 2), ('/home/nano/Desktop/images/12122025/07/32/image_12122025_07_32_35_10659.jpg', 2), ('/home/nano/Desktop/images/12122025/07/32/image_12122025_07_32_24_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/07/32/image_12122025_07_32_15_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/07/31/image_12122025_07_32_05_10651.jpg', 2), ('/home/nano/Desktop/images/12122025/07/31/image_12122025_07_31_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:33:32.461611 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/33/image_12122025_07_33_45_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/07/33/image_12122025_07_33_35_10640.jpg', 2), ('/home/nano/Desktop/images/12122025/07/33/image_12122025_07_33_24_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/07/33/image_12122025_07_33_15_10679.jpg', 2), ('/home/nano/Desktop/images/12122025/07/32/image_12122025_07_33_04_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/07/32/image_12122025_07_32_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:34:03.301768 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/33/image_12122025_07_33_45_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/07/33/image_12122025_07_33_35_10640.jpg', 2), ('/home/nano/Desktop/images/12122025/07/33/image_12122025_07_33_24_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/07/33/image_12122025_07_33_15_10679.jpg', 2), ('/home/nano/Desktop/images/12122025/07/32/image_12122025_07_33_04_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/07/32/image_12122025_07_32_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:34:32.641628 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/34/image_12122025_07_34_35_10625.jpg', 2), ('/home/nano/Desktop/images/12122025/07/34/image_12122025_07_34_24_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/07/34/image_12122025_07_34_15_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/07/33/image_12122025_07_34_05_10657.jpg', 2), ('/home/nano/Desktop/images/12122025/07/33/image_12122025_07_33_54_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/07/33/image_12122025_07_33_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:35:03.309358 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/34/image_12122025_07_34_35_10625.jpg', 2), ('/home/nano/Desktop/images/12122025/07/34/image_12122025_07_34_24_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/07/34/image_12122025_07_34_15_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/07/33/image_12122025_07_34_05_10657.jpg', 2), ('/home/nano/Desktop/images/12122025/07/33/image_12122025_07_33_54_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/07/33/image_12122025_07_33_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:35:32.635527 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/35/image_12122025_07_35_44_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/07/35/image_12122025_07_35_35_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/07/35/image_12122025_07_35_25_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/07/35/image_12122025_07_35_14_9633.jpg', 2), ('/home/nano/Desktop/images/12122025/07/34/image_12122025_07_35_05_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/07/34/image_12122025_07_34_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:36:03.192220 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/35/image_12122025_07_35_44_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/07/35/image_12122025_07_35_35_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/07/35/image_12122025_07_35_25_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/07/35/image_12122025_07_35_14_9633.jpg', 2), ('/home/nano/Desktop/images/12122025/07/34/image_12122025_07_35_05_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/07/34/image_12122025_07_34_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:36:32.810892 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/36/image_12122025_07_36_45_10607.jpg', 2), ('/home/nano/Desktop/images/12122025/07/36/image_12122025_07_36_25_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/07/36/image_12122025_07_36_15_10626.jpg', 2), ('/home/nano/Desktop/images/12122025/07/35/image_12122025_07_36_04_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/07/35/image_12122025_07_35_55_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/07/35/image_12122025_07_35_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:37:02.646507 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/37/image_12122025_07_37_44_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/07/36/image_12122025_07_36_45_10607.jpg', 2), ('/home/nano/Desktop/images/12122025/07/36/image_12122025_07_36_25_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/07/36/image_12122025_07_36_15_10626.jpg', 2), ('/home/nano/Desktop/images/12122025/07/35/image_12122025_07_36_04_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/07/35/image_12122025_07_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:37:31.824552 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/37/image_12122025_07_37_44_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/07/37/image_12122025_07_37_35_10620.jpg', 2), ('/home/nano/Desktop/images/12122025/07/37/image_12122025_07_37_24_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/07/37/image_12122025_07_37_15_9611.jpg', 2), ('/home/nano/Desktop/images/12122025/07/36/image_12122025_07_37_05_10621.jpg', 2), ('/home/nano/Desktop/images/12122025/07/36/image_12122025_07_36_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:38:02.500286 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/37/image_12122025_07_37_44_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/07/37/image_12122025_07_37_35_10620.jpg', 2), ('/home/nano/Desktop/images/12122025/07/37/image_12122025_07_37_24_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/07/37/image_12122025_07_37_15_9611.jpg', 2), ('/home/nano/Desktop/images/12122025/07/36/image_12122025_07_37_05_10621.jpg', 2), ('/home/nano/Desktop/images/12122025/07/36/image_12122025_07_36_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:38:31.941350 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/38/image_12122025_07_38_44_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/07/38/image_12122025_07_38_35_9594.jpg', 2), ('/home/nano/Desktop/images/12122025/07/38/image_12122025_07_38_25_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/07/37/image_12122025_07_38_05_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/07/37/image_12122025_07_37_54_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/07/37/image_12122025_07_37_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:39:02.756749 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/38/image_12122025_07_38_44_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/07/38/image_12122025_07_38_35_9594.jpg', 2), ('/home/nano/Desktop/images/12122025/07/38/image_12122025_07_38_25_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/07/37/image_12122025_07_38_05_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/07/37/image_12122025_07_37_54_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/07/37/image_12122025_07_37_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:39:32.046875 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/39/image_12122025_07_39_34_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/07/39/image_12122025_07_39_25_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/07/39/image_12122025_07_39_15_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/07/38/image_12122025_07_38_55_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/07/38/image_12122025_07_38_44_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/07/38/image_12122025_07_38_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:40:02.752821 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/39/image_12122025_07_39_34_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/07/39/image_12122025_07_39_25_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/07/39/image_12122025_07_39_15_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/07/38/image_12122025_07_38_55_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/07/38/image_12122025_07_38_44_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/07/38/image_12122025_07_38_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:40:32.120414 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/40/image_12122025_07_40_45_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/07/40/image_12122025_07_40_24_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/07/40/image_12122025_07_40_15_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/07/39/image_12122025_07_40_05_10627.jpg', 2), ('/home/nano/Desktop/images/12122025/07/39/image_12122025_07_39_45_10616.jpg', 2), ('/home/nano/Desktop/images/12122025/07/39/image_12122025_07_39_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:41:02.807933 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/40/image_12122025_07_40_45_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/07/40/image_12122025_07_40_24_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/07/40/image_12122025_07_40_15_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/07/39/image_12122025_07_40_05_10627.jpg', 2), ('/home/nano/Desktop/images/12122025/07/39/image_12122025_07_39_45_10616.jpg', 2), ('/home/nano/Desktop/images/12122025/07/39/image_12122025_07_39_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:41:32.211432 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/41/image_12122025_07_41_44_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/07/41/image_12122025_07_41_35_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/07/41/image_12122025_07_41_24_9614.jpg', 2), ('/home/nano/Desktop/images/12122025/07/41/image_12122025_07_41_14_9667.jpg', 2), ('/home/nano/Desktop/images/12122025/07/40/image_12122025_07_41_05_10649.jpg', 2), ('/home/nano/Desktop/images/12122025/07/40/image_12122025_07_40_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:42:02.842581 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/41/image_12122025_07_41_44_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/07/41/image_12122025_07_41_35_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/07/41/image_12122025_07_41_24_9614.jpg', 2), ('/home/nano/Desktop/images/12122025/07/41/image_12122025_07_41_14_9667.jpg', 2), ('/home/nano/Desktop/images/12122025/07/40/image_12122025_07_41_05_10649.jpg', 2), ('/home/nano/Desktop/images/12122025/07/40/image_12122025_07_40_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:42:32.338995 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/42/image_12122025_07_42_44_9611.jpg', 2), ('/home/nano/Desktop/images/12122025/07/42/image_12122025_07_42_34_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/07/42/image_12122025_07_42_14_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/07/41/image_12122025_07_42_05_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/07/41/image_12122025_07_41_55_10627.jpg', 2), ('/home/nano/Desktop/images/12122025/07/41/image_12122025_07_41_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:43:03.070854 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/42/image_12122025_07_42_44_9611.jpg', 2), ('/home/nano/Desktop/images/12122025/07/42/image_12122025_07_42_34_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/07/42/image_12122025_07_42_14_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/07/41/image_12122025_07_42_05_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/07/41/image_12122025_07_41_55_10627.jpg', 2), ('/home/nano/Desktop/images/12122025/07/41/image_12122025_07_41_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:43:32.387430 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/43/image_12122025_07_43_45_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/07/43/image_12122025_07_43_34_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/07/43/image_12122025_07_43_25_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/07/43/image_12122025_07_43_15_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/07/42/image_12122025_07_43_04_9631.jpg', 2), ('/home/nano/Desktop/images/12122025/07/42/image_12122025_07_42_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:44:03.213552 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/43/image_12122025_07_43_45_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/07/43/image_12122025_07_43_34_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/07/43/image_12122025_07_43_25_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/07/43/image_12122025_07_43_15_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/07/42/image_12122025_07_43_04_9631.jpg', 2), ('/home/nano/Desktop/images/12122025/07/42/image_12122025_07_42_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:44:32.606747 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/44/image_12122025_07_44_45_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/07/44/image_12122025_07_44_35_10684.jpg', 2), ('/home/nano/Desktop/images/12122025/07/44/image_12122025_07_44_24_9645.jpg', 2), ('/home/nano/Desktop/images/12122025/07/44/image_12122025_07_44_15_9645.jpg', 2), ('/home/nano/Desktop/images/12122025/07/43/image_12122025_07_43_54_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/07/43/image_12122025_07_43_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:45:03.111680 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/44/image_12122025_07_44_45_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/07/44/image_12122025_07_44_35_10684.jpg', 2), ('/home/nano/Desktop/images/12122025/07/44/image_12122025_07_44_24_9645.jpg', 2), ('/home/nano/Desktop/images/12122025/07/44/image_12122025_07_44_15_9645.jpg', 2), ('/home/nano/Desktop/images/12122025/07/43/image_12122025_07_43_54_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/07/43/image_12122025_07_43_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:45:32.627351 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/45/image_12122025_07_45_45_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/07/45/image_12122025_07_45_35_10643.jpg', 2), ('/home/nano/Desktop/images/12122025/07/45/image_12122025_07_45_24_9653.jpg', 2), ('/home/nano/Desktop/images/12122025/07/45/image_12122025_07_45_15_9749.jpg', 2), ('/home/nano/Desktop/images/12122025/07/44/image_12122025_07_45_05_10654.jpg', 2), ('/home/nano/Desktop/images/12122025/07/44/image_12122025_07_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:46:03.217364 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/45/image_12122025_07_45_45_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/07/45/image_12122025_07_45_35_10643.jpg', 2), ('/home/nano/Desktop/images/12122025/07/45/image_12122025_07_45_24_9653.jpg', 2), ('/home/nano/Desktop/images/12122025/07/45/image_12122025_07_45_15_9749.jpg', 2), ('/home/nano/Desktop/images/12122025/07/44/image_12122025_07_45_05_10654.jpg', 2), ('/home/nano/Desktop/images/12122025/07/44/image_12122025_07_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:46:32.738952 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/46/image_12122025_07_46_54_9634.jpg', 2), ('/home/nano/Desktop/images/12122025/07/46/image_12122025_07_46_35_10651.jpg', 2), ('/home/nano/Desktop/images/12122025/07/46/image_12122025_07_46_24_9646.jpg', 2), ('/home/nano/Desktop/images/12122025/07/46/image_12122025_07_46_15_9660.jpg', 2), ('/home/nano/Desktop/images/12122025/07/45/image_12122025_07_46_05_10710.jpg', 2), ('/home/nano/Desktop/images/12122025/07/45/image_12122025_07_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:47:02.552939 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/46/image_12122025_07_46_54_9634.jpg', 2), ('/home/nano/Desktop/images/12122025/07/46/image_12122025_07_46_35_10651.jpg', 2), ('/home/nano/Desktop/images/12122025/07/46/image_12122025_07_46_24_9646.jpg', 2), ('/home/nano/Desktop/images/12122025/07/46/image_12122025_07_46_15_9660.jpg', 2), ('/home/nano/Desktop/images/12122025/07/45/image_12122025_07_46_05_10710.jpg', 2), ('/home/nano/Desktop/images/12122025/07/45/image_12122025_07_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:47:31.810913 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/47/image_12122025_07_47_45_9667.jpg', 2), ('/home/nano/Desktop/images/12122025/07/47/image_12122025_07_47_35_10667.jpg', 2), ('/home/nano/Desktop/images/12122025/07/47/image_12122025_07_47_24_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/07/47/image_12122025_07_47_15_9643.jpg', 2), ('/home/nano/Desktop/images/12122025/07/46/image_12122025_07_47_05_10658.jpg', 2), ('/home/nano/Desktop/images/12122025/07/46/image_12122025_07_46_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:48:02.283527 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/47/image_12122025_07_47_45_9667.jpg', 2), ('/home/nano/Desktop/images/12122025/07/47/image_12122025_07_47_35_10667.jpg', 2), ('/home/nano/Desktop/images/12122025/07/47/image_12122025_07_47_24_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/07/47/image_12122025_07_47_15_9643.jpg', 2), ('/home/nano/Desktop/images/12122025/07/46/image_12122025_07_47_05_10658.jpg', 2), ('/home/nano/Desktop/images/12122025/07/46/image_12122025_07_46_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:48:31.879967 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/48/image_12122025_07_48_45_9693.jpg', 2), ('/home/nano/Desktop/images/12122025/07/48/image_12122025_07_48_35_10658.jpg', 2), ('/home/nano/Desktop/images/12122025/07/48/image_12122025_07_48_24_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/07/48/image_12122025_07_48_15_9723.jpg', 2), ('/home/nano/Desktop/images/12122025/07/47/image_12122025_07_48_05_10701.jpg', 2), ('/home/nano/Desktop/images/12122025/07/47/image_12122025_07_47_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:49:02.892919 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/48/image_12122025_07_48_45_9693.jpg', 2), ('/home/nano/Desktop/images/12122025/07/48/image_12122025_07_48_35_10658.jpg', 2), ('/home/nano/Desktop/images/12122025/07/48/image_12122025_07_48_24_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/07/48/image_12122025_07_48_15_9723.jpg', 2), ('/home/nano/Desktop/images/12122025/07/47/image_12122025_07_48_05_10701.jpg', 2), ('/home/nano/Desktop/images/12122025/07/47/image_12122025_07_47_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:49:31.980095 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/49/image_12122025_07_49_44_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/07/49/image_12122025_07_49_35_10643.jpg', 2), ('/home/nano/Desktop/images/12122025/07/49/image_12122025_07_49_24_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/07/49/image_12122025_07_49_15_9645.jpg', 2), ('/home/nano/Desktop/images/12122025/07/48/image_12122025_07_49_05_10642.jpg', 2), ('/home/nano/Desktop/images/12122025/07/48/image_12122025_07_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:50:02.437384 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/49/image_12122025_07_49_44_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/07/49/image_12122025_07_49_35_10643.jpg', 2), ('/home/nano/Desktop/images/12122025/07/49/image_12122025_07_49_24_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/07/49/image_12122025_07_49_15_9645.jpg', 2), ('/home/nano/Desktop/images/12122025/07/48/image_12122025_07_49_05_10642.jpg', 2), ('/home/nano/Desktop/images/12122025/07/48/image_12122025_07_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:50:32.076957 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/50/image_12122025_07_50_44_9646.jpg', 2), ('/home/nano/Desktop/images/12122025/07/50/image_12122025_07_50_35_9719.jpg', 2), ('/home/nano/Desktop/images/12122025/07/50/image_12122025_07_50_25_10623.jpg', 2), ('/home/nano/Desktop/images/12122025/07/50/image_12122025_07_50_14_9632.jpg', 2), ('/home/nano/Desktop/images/12122025/07/49/image_12122025_07_50_05_9654.jpg', 2), ('/home/nano/Desktop/images/12122025/07/49/image_12122025_07_49_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:51:02.951474 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/50/image_12122025_07_50_44_9646.jpg', 2), ('/home/nano/Desktop/images/12122025/07/50/image_12122025_07_50_35_9719.jpg', 2), ('/home/nano/Desktop/images/12122025/07/50/image_12122025_07_50_25_10623.jpg', 2), ('/home/nano/Desktop/images/12122025/07/50/image_12122025_07_50_14_9632.jpg', 2), ('/home/nano/Desktop/images/12122025/07/49/image_12122025_07_50_05_9654.jpg', 2), ('/home/nano/Desktop/images/12122025/07/49/image_12122025_07_49_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:51:32.190229 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/51/image_12122025_07_51_44_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/07/51/image_12122025_07_51_35_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/07/51/image_12122025_07_51_25_10654.jpg', 2), ('/home/nano/Desktop/images/12122025/07/51/image_12122025_07_51_14_9641.jpg', 2), ('/home/nano/Desktop/images/12122025/07/50/image_12122025_07_51_05_9616.jpg', 2), ('/home/nano/Desktop/images/12122025/07/50/image_12122025_07_50_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:52:02.859474 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/51/image_12122025_07_51_44_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/07/51/image_12122025_07_51_35_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/07/51/image_12122025_07_51_25_10654.jpg', 2), ('/home/nano/Desktop/images/12122025/07/51/image_12122025_07_51_14_9641.jpg', 2), ('/home/nano/Desktop/images/12122025/07/50/image_12122025_07_51_05_9616.jpg', 2), ('/home/nano/Desktop/images/12122025/07/50/image_12122025_07_50_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:52:32.288508 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/52/image_12122025_07_52_45_10623.jpg', 2), ('/home/nano/Desktop/images/12122025/07/52/image_12122025_07_52_34_9655.jpg', 2), ('/home/nano/Desktop/images/12122025/07/52/image_12122025_07_52_25_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/07/52/image_12122025_07_52_15_10659.jpg', 2), ('/home/nano/Desktop/images/12122025/07/51/image_12122025_07_52_04_9655.jpg', 2), ('/home/nano/Desktop/images/12122025/07/51/image_12122025_07_51_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:53:02.915825 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/52/image_12122025_07_52_45_10623.jpg', 2), ('/home/nano/Desktop/images/12122025/07/52/image_12122025_07_52_34_9655.jpg', 2), ('/home/nano/Desktop/images/12122025/07/52/image_12122025_07_52_25_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/07/52/image_12122025_07_52_15_10659.jpg', 2), ('/home/nano/Desktop/images/12122025/07/51/image_12122025_07_52_04_9655.jpg', 2), ('/home/nano/Desktop/images/12122025/07/51/image_12122025_07_51_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:53:32.381340 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/53/image_12122025_07_53_45_10617.jpg', 2), ('/home/nano/Desktop/images/12122025/07/53/image_12122025_07_53_34_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/07/53/image_12122025_07_53_24_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/07/53/image_12122025_07_53_15_10669.jpg', 2), ('/home/nano/Desktop/images/12122025/07/52/image_12122025_07_53_04_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/07/52/image_12122025_07_52_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:54:03.288895 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/53/image_12122025_07_53_45_10617.jpg', 2), ('/home/nano/Desktop/images/12122025/07/53/image_12122025_07_53_34_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/07/53/image_12122025_07_53_24_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/07/53/image_12122025_07_53_15_10669.jpg', 2), ('/home/nano/Desktop/images/12122025/07/52/image_12122025_07_53_04_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/07/52/image_12122025_07_52_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:54:32.510917 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/54/image_12122025_07_54_44_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/07/54/image_12122025_07_54_35_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/07/54/image_12122025_07_54_24_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/07/54/image_12122025_07_54_15_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/07/53/image_12122025_07_54_05_10610.jpg', 2), ('/home/nano/Desktop/images/12122025/07/53/image_12122025_07_53_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:55:03.401947 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/54/image_12122025_07_54_44_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/07/54/image_12122025_07_54_35_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/07/54/image_12122025_07_54_24_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/07/54/image_12122025_07_54_15_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/07/53/image_12122025_07_54_05_10610.jpg', 2), ('/home/nano/Desktop/images/12122025/07/53/image_12122025_07_53_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:55:32.579612 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/55/image_12122025_07_55_44_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/07/55/image_12122025_07_55_35_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/07/55/image_12122025_07_55_25_10642.jpg', 2), ('/home/nano/Desktop/images/12122025/07/55/image_12122025_07_55_14_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/07/54/image_12122025_07_55_05_9647.jpg', 2), ('/home/nano/Desktop/images/12122025/07/54/image_12122025_07_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:56:03.080965 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/55/image_12122025_07_55_44_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/07/55/image_12122025_07_55_35_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/07/55/image_12122025_07_55_25_10642.jpg', 2), ('/home/nano/Desktop/images/12122025/07/55/image_12122025_07_55_14_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/07/54/image_12122025_07_55_05_9647.jpg', 2), ('/home/nano/Desktop/images/12122025/07/54/image_12122025_07_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:56:32.674567 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/56/image_12122025_07_56_45_10652.jpg', 2), ('/home/nano/Desktop/images/12122025/07/56/image_12122025_07_56_34_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/07/56/image_12122025_07_56_25_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/07/56/image_12122025_07_56_15_10620.jpg', 2), ('/home/nano/Desktop/images/12122025/07/55/image_12122025_07_56_04_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/07/55/image_12122025_07_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:57:02.558637 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/56/image_12122025_07_56_45_10652.jpg', 2), ('/home/nano/Desktop/images/12122025/07/56/image_12122025_07_56_34_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/07/56/image_12122025_07_56_25_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/07/56/image_12122025_07_56_15_10620.jpg', 2), ('/home/nano/Desktop/images/12122025/07/55/image_12122025_07_56_04_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/07/55/image_12122025_07_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:57:31.793497 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/57/image_12122025_07_57_45_10661.jpg', 2), ('/home/nano/Desktop/images/12122025/07/57/image_12122025_07_57_34_9632.jpg', 2), ('/home/nano/Desktop/images/12122025/07/57/image_12122025_07_57_24_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/07/57/image_12122025_07_57_15_10638.jpg', 2), ('/home/nano/Desktop/images/12122025/07/56/image_12122025_07_57_04_9649.jpg', 2), ('/home/nano/Desktop/images/12122025/07/56/image_12122025_07_56_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:59:02.844465 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/58/image_12122025_07_58_45_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/07/58/image_12122025_07_58_35_10610.jpg', 2), ('/home/nano/Desktop/images/12122025/07/58/image_12122025_07_58_24_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/07/58/image_12122025_07_58_15_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/07/57/image_12122025_07_58_05_10670.jpg', 2), ('/home/nano/Desktop/images/12122025/07/57/image_12122025_07_57_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 07:59:31.793933 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/59/image_12122025_07_59_44_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/07/59/image_12122025_07_59_35_9611.jpg', 2), ('/home/nano/Desktop/images/12122025/07/59/image_12122025_07_59_25_10622.jpg', 2), ('/home/nano/Desktop/images/12122025/07/59/image_12122025_07_59_14_9645.jpg', 2), ('/home/nano/Desktop/images/12122025/07/58/image_12122025_07_59_05_10638.jpg', 2), ('/home/nano/Desktop/images/12122025/07/58/image_12122025_07_58_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:00:02.429001 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/07/59/image_12122025_07_59_44_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/07/59/image_12122025_07_59_35_9611.jpg', 2), ('/home/nano/Desktop/images/12122025/07/59/image_12122025_07_59_25_10622.jpg', 2), ('/home/nano/Desktop/images/12122025/07/59/image_12122025_07_59_14_9645.jpg', 2), ('/home/nano/Desktop/images/12122025/07/58/image_12122025_07_59_05_10638.jpg', 2), ('/home/nano/Desktop/images/12122025/07/58/image_12122025_07_58_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:00:31.917353 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/00/image_12122025_08_00_45_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/08/00/image_12122025_08_00_34_9593.jpg', 2), ('/home/nano/Desktop/images/12122025/08/00/image_12122025_08_00_25_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/08/00/image_12122025_08_00_14_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/07/59/image_12122025_08_00_05_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/07/59/image_12122025_07_59_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:01:02.908603 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/00/image_12122025_08_00_45_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/08/00/image_12122025_08_00_34_9593.jpg', 2), ('/home/nano/Desktop/images/12122025/08/00/image_12122025_08_00_25_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/08/00/image_12122025_08_00_14_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/07/59/image_12122025_08_00_05_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/07/59/image_12122025_07_59_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:01:32.057778 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/01/image_12122025_08_01_45_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/08/01/image_12122025_08_01_35_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/08/01/image_12122025_08_01_24_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/08/01/image_12122025_08_01_15_10637.jpg', 2), ('/home/nano/Desktop/images/12122025/08/00/image_12122025_08_01_04_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/08/00/image_12122025_08_00_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:02:02.417786 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/01/image_12122025_08_01_45_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/08/01/image_12122025_08_01_35_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/08/01/image_12122025_08_01_24_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/08/01/image_12122025_08_01_15_10637.jpg', 2), ('/home/nano/Desktop/images/12122025/08/00/image_12122025_08_01_04_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/08/00/image_12122025_08_00_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:02:32.196325 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/02/image_12122025_08_02_44_9659.jpg', 2), ('/home/nano/Desktop/images/12122025/08/02/image_12122025_08_02_35_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/08/02/image_12122025_08_02_24_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/08/02/image_12122025_08_02_14_9614.jpg', 2), ('/home/nano/Desktop/images/12122025/08/01/image_12122025_08_02_05_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/08/01/image_12122025_08_01_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:03:02.936304 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/02/image_12122025_08_02_44_9659.jpg', 2), ('/home/nano/Desktop/images/12122025/08/02/image_12122025_08_02_35_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/08/02/image_12122025_08_02_24_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/08/02/image_12122025_08_02_14_9614.jpg', 2), ('/home/nano/Desktop/images/12122025/08/01/image_12122025_08_02_05_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/08/01/image_12122025_08_01_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:03:32.289979 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/03/image_12122025_08_03_44_9644.jpg', 2), ('/home/nano/Desktop/images/12122025/08/03/image_12122025_08_03_35_9636.jpg', 2), ('/home/nano/Desktop/images/12122025/08/03/image_12122025_08_03_25_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/08/03/image_12122025_08_03_14_9641.jpg', 2), ('/home/nano/Desktop/images/12122025/08/02/image_12122025_08_03_05_9644.jpg', 2), ('/home/nano/Desktop/images/12122025/08/02/image_12122025_08_02_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:04:03.066773 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/03/image_12122025_08_03_44_9644.jpg', 2), ('/home/nano/Desktop/images/12122025/08/03/image_12122025_08_03_35_9636.jpg', 2), ('/home/nano/Desktop/images/12122025/08/03/image_12122025_08_03_25_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/08/03/image_12122025_08_03_14_9641.jpg', 2), ('/home/nano/Desktop/images/12122025/08/02/image_12122025_08_03_05_9644.jpg', 2), ('/home/nano/Desktop/images/12122025/08/02/image_12122025_08_02_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:04:32.384561 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/04/image_12122025_08_04_45_10680.jpg', 2), ('/home/nano/Desktop/images/12122025/08/04/image_12122025_08_04_34_9646.jpg', 2), ('/home/nano/Desktop/images/12122025/08/04/image_12122025_08_04_25_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/08/04/image_12122025_08_04_15_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/08/03/image_12122025_08_04_04_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/08/03/image_12122025_08_03_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:05:03.108629 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/04/image_12122025_08_04_45_10680.jpg', 2), ('/home/nano/Desktop/images/12122025/08/04/image_12122025_08_04_34_9646.jpg', 2), ('/home/nano/Desktop/images/12122025/08/04/image_12122025_08_04_25_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/08/04/image_12122025_08_04_15_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/08/03/image_12122025_08_04_04_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/08/03/image_12122025_08_03_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:05:32.471367 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/05/image_12122025_08_05_45_10624.jpg', 2), ('/home/nano/Desktop/images/12122025/08/05/image_12122025_08_05_34_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/08/05/image_12122025_08_05_25_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/08/05/image_12122025_08_05_15_10637.jpg', 2), ('/home/nano/Desktop/images/12122025/08/04/image_12122025_08_05_04_9676.jpg', 2), ('/home/nano/Desktop/images/12122025/08/04/image_12122025_08_04_55_9679.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:06:03.089581 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/05/image_12122025_08_05_45_10624.jpg', 2), ('/home/nano/Desktop/images/12122025/08/05/image_12122025_08_05_34_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/08/05/image_12122025_08_05_25_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/08/05/image_12122025_08_05_15_10637.jpg', 2), ('/home/nano/Desktop/images/12122025/08/04/image_12122025_08_05_04_9676.jpg', 2), ('/home/nano/Desktop/images/12122025/08/04/image_12122025_08_04_55_9679.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:06:32.552193 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/06/image_12122025_08_06_45_9634.jpg', 2), ('/home/nano/Desktop/images/12122025/08/06/image_12122025_08_06_35_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/08/06/image_12122025_08_06_24_9631.jpg', 2), ('/home/nano/Desktop/images/12122025/08/06/image_12122025_08_06_15_10642.jpg', 2), ('/home/nano/Desktop/images/12122025/08/05/image_12122025_08_06_04_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/08/05/image_12122025_08_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:07:03.296994 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/06/image_12122025_08_06_45_9634.jpg', 2), ('/home/nano/Desktop/images/12122025/08/06/image_12122025_08_06_35_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/08/06/image_12122025_08_06_24_9631.jpg', 2), ('/home/nano/Desktop/images/12122025/08/06/image_12122025_08_06_15_10642.jpg', 2), ('/home/nano/Desktop/images/12122025/08/05/image_12122025_08_06_04_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/08/05/image_12122025_08_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:07:32.667879 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/07/image_12122025_08_07_44_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/08/07/image_12122025_08_07_35_10622.jpg', 2), ('/home/nano/Desktop/images/12122025/08/07/image_12122025_08_07_24_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/08/07/image_12122025_08_07_15_9645.jpg', 2), ('/home/nano/Desktop/images/12122025/08/06/image_12122025_08_07_05_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/08/06/image_12122025_08_06_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:08:03.179472 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/07/image_12122025_08_07_44_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/08/07/image_12122025_08_07_35_10622.jpg', 2), ('/home/nano/Desktop/images/12122025/08/07/image_12122025_08_07_24_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/08/07/image_12122025_08_07_15_9645.jpg', 2), ('/home/nano/Desktop/images/12122025/08/06/image_12122025_08_07_05_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/08/06/image_12122025_08_06_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:08:32.763272 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/08/image_12122025_08_08_45_10913.jpg', 2), ('/home/nano/Desktop/images/12122025/08/08/image_12122025_08_08_34_9952.jpg', 2), ('/home/nano/Desktop/images/12122025/08/08/image_12122025_08_08_24_9784.jpg', 2), ('/home/nano/Desktop/images/12122025/08/08/image_12122025_08_08_14_9740.jpg', 2), ('/home/nano/Desktop/images/12122025/08/07/image_12122025_08_08_05_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/08/07/image_12122025_08_07_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:09:03.010312 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/08/image_12122025_08_08_45_10913.jpg', 2), ('/home/nano/Desktop/images/12122025/08/08/image_12122025_08_08_34_9952.jpg', 2), ('/home/nano/Desktop/images/12122025/08/08/image_12122025_08_08_24_9784.jpg', 2), ('/home/nano/Desktop/images/12122025/08/08/image_12122025_08_08_14_9740.jpg', 2), ('/home/nano/Desktop/images/12122025/08/07/image_12122025_08_08_05_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/08/07/image_12122025_08_07_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:09:31.875415 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/09/image_12122025_08_09_15_9935.jpg', 2), ('/home/nano/Desktop/images/12122025/08/08/image_12122025_08_09_05_9873.jpg', 2), ('/home/nano/Desktop/images/12122025/08/08/image_12122025_08_08_55_9839.jpg', 2), ('/home/nano/Desktop/images/12122025/08/08/image_12122025_08_08_45_10913.jpg', 2), ('/home/nano/Desktop/images/12122025/08/08/image_12122025_08_08_34_9952.jpg', 2), ('/home/nano/Desktop/images/12122025/08/08/image_12122025_08_08_24_9784.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:10:02.541369 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/09/image_12122025_08_09_15_9935.jpg', 2), ('/home/nano/Desktop/images/12122025/08/08/image_12122025_08_09_05_9873.jpg', 2), ('/home/nano/Desktop/images/12122025/08/08/image_12122025_08_08_55_9839.jpg', 2), ('/home/nano/Desktop/images/12122025/08/08/image_12122025_08_08_45_10913.jpg', 2), ('/home/nano/Desktop/images/12122025/08/08/image_12122025_08_08_34_9952.jpg', 2), ('/home/nano/Desktop/images/12122025/08/08/image_12122025_08_08_24_9784.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:10:31.984067 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/10/image_12122025_08_10_45_10910.jpg', 2), ('/home/nano/Desktop/images/12122025/08/09/image_12122025_08_09_15_9935.jpg', 2), ('/home/nano/Desktop/images/12122025/08/08/image_12122025_08_09_05_9873.jpg', 2), ('/home/nano/Desktop/images/12122025/08/08/image_12122025_08_08_55_9839.jpg', 2), ('/home/nano/Desktop/images/12122025/08/08/image_12122025_08_08_45_10913.jpg', 2), ('/home/nano/Desktop/images/12122025/08/08/image_12122025_08_08_34_9952.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:11:02.860632 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/10/image_12122025_08_10_45_10910.jpg', 2), ('/home/nano/Desktop/images/12122025/08/09/image_12122025_08_09_15_9935.jpg', 2), ('/home/nano/Desktop/images/12122025/08/08/image_12122025_08_09_05_9873.jpg', 2), ('/home/nano/Desktop/images/12122025/08/08/image_12122025_08_08_55_9839.jpg', 2), ('/home/nano/Desktop/images/12122025/08/08/image_12122025_08_08_45_10913.jpg', 2), ('/home/nano/Desktop/images/12122025/08/08/image_12122025_08_08_34_9952.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:11:32.121702 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/11/image_12122025_08_11_34_9840.jpg', 2), ('/home/nano/Desktop/images/12122025/08/11/image_12122025_08_11_24_9802.jpg', 2), ('/home/nano/Desktop/images/12122025/08/11/image_12122025_08_11_15_9805.jpg', 2), ('/home/nano/Desktop/images/12122025/08/10/image_12122025_08_11_05_9866.jpg', 2), ('/home/nano/Desktop/images/12122025/08/10/image_12122025_08_10_55_9921.jpg', 2), ('/home/nano/Desktop/images/12122025/08/10/image_12122025_08_10_45_10910.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:12:02.740073 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/11/image_12122025_08_11_34_9840.jpg', 2), ('/home/nano/Desktop/images/12122025/08/11/image_12122025_08_11_24_9802.jpg', 2), ('/home/nano/Desktop/images/12122025/08/11/image_12122025_08_11_15_9805.jpg', 2), ('/home/nano/Desktop/images/12122025/08/10/image_12122025_08_11_05_9866.jpg', 2), ('/home/nano/Desktop/images/12122025/08/10/image_12122025_08_10_55_9921.jpg', 2), ('/home/nano/Desktop/images/12122025/08/10/image_12122025_08_10_45_10910.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:12:32.205348 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/11/image_12122025_08_11_34_9840.jpg', 2), ('/home/nano/Desktop/images/12122025/08/11/image_12122025_08_11_24_9802.jpg', 2), ('/home/nano/Desktop/images/12122025/08/11/image_12122025_08_11_15_9805.jpg', 2), ('/home/nano/Desktop/images/12122025/08/10/image_12122025_08_11_05_9866.jpg', 2), ('/home/nano/Desktop/images/12122025/08/10/image_12122025_08_10_55_9921.jpg', 2), ('/home/nano/Desktop/images/12122025/08/10/image_12122025_08_10_45_10910.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:13:03.007275 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/11/image_12122025_08_11_34_9840.jpg', 2), ('/home/nano/Desktop/images/12122025/08/11/image_12122025_08_11_24_9802.jpg', 2), ('/home/nano/Desktop/images/12122025/08/11/image_12122025_08_11_15_9805.jpg', 2), ('/home/nano/Desktop/images/12122025/08/10/image_12122025_08_11_05_9866.jpg', 2), ('/home/nano/Desktop/images/12122025/08/10/image_12122025_08_10_55_9921.jpg', 2), ('/home/nano/Desktop/images/12122025/08/10/image_12122025_08_10_45_10910.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:13:32.299133 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/11/image_12122025_08_11_34_9840.jpg', 2), ('/home/nano/Desktop/images/12122025/08/11/image_12122025_08_11_24_9802.jpg', 2), ('/home/nano/Desktop/images/12122025/08/11/image_12122025_08_11_15_9805.jpg', 2), ('/home/nano/Desktop/images/12122025/08/10/image_12122025_08_11_05_9866.jpg', 2), ('/home/nano/Desktop/images/12122025/08/10/image_12122025_08_10_55_9921.jpg', 2), ('/home/nano/Desktop/images/12122025/08/10/image_12122025_08_10_45_10910.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:14:03.090617 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/11/image_12122025_08_11_34_9840.jpg', 2), ('/home/nano/Desktop/images/12122025/08/11/image_12122025_08_11_24_9802.jpg', 2), ('/home/nano/Desktop/images/12122025/08/11/image_12122025_08_11_15_9805.jpg', 2), ('/home/nano/Desktop/images/12122025/08/10/image_12122025_08_11_05_9866.jpg', 2), ('/home/nano/Desktop/images/12122025/08/10/image_12122025_08_10_55_9921.jpg', 2), ('/home/nano/Desktop/images/12122025/08/10/image_12122025_08_10_45_10910.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:14:32.367717 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/11/image_12122025_08_11_34_9840.jpg', 2), ('/home/nano/Desktop/images/12122025/08/11/image_12122025_08_11_24_9802.jpg', 2), ('/home/nano/Desktop/images/12122025/08/11/image_12122025_08_11_15_9805.jpg', 2), ('/home/nano/Desktop/images/12122025/08/10/image_12122025_08_11_05_9866.jpg', 2), ('/home/nano/Desktop/images/12122025/08/10/image_12122025_08_10_55_9921.jpg', 2), ('/home/nano/Desktop/images/12122025/08/10/image_12122025_08_10_45_10910.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:15:03.054104 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/11/image_12122025_08_11_34_9840.jpg', 2), ('/home/nano/Desktop/images/12122025/08/11/image_12122025_08_11_24_9802.jpg', 2), ('/home/nano/Desktop/images/12122025/08/11/image_12122025_08_11_15_9805.jpg', 2), ('/home/nano/Desktop/images/12122025/08/10/image_12122025_08_11_05_9866.jpg', 2), ('/home/nano/Desktop/images/12122025/08/10/image_12122025_08_10_55_9921.jpg', 2), ('/home/nano/Desktop/images/12122025/08/10/image_12122025_08_10_45_10910.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:15:32.492859 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/15/image_12122025_08_15_44_9836.jpg', 2), ('/home/nano/Desktop/images/12122025/08/15/image_12122025_08_15_34_9888.jpg', 2), ('/home/nano/Desktop/images/12122025/08/15/image_12122025_08_15_25_9923.jpg', 2), ('/home/nano/Desktop/images/12122025/08/11/image_12122025_08_11_34_9840.jpg', 2), ('/home/nano/Desktop/images/12122025/08/11/image_12122025_08_11_24_9802.jpg', 2), ('/home/nano/Desktop/images/12122025/08/11/image_12122025_08_11_15_9805.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:16:03.277899 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/15/image_12122025_08_15_44_9836.jpg', 2), ('/home/nano/Desktop/images/12122025/08/15/image_12122025_08_15_34_9888.jpg', 2), ('/home/nano/Desktop/images/12122025/08/15/image_12122025_08_15_25_9923.jpg', 2), ('/home/nano/Desktop/images/12122025/08/11/image_12122025_08_11_34_9840.jpg', 2), ('/home/nano/Desktop/images/12122025/08/11/image_12122025_08_11_24_9802.jpg', 2), ('/home/nano/Desktop/images/12122025/08/11/image_12122025_08_11_15_9805.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:16:32.694162 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/15/image_12122025_08_16_05_10873.jpg', 2), ('/home/nano/Desktop/images/12122025/08/15/image_12122025_08_15_54_9825.jpg', 2), ('/home/nano/Desktop/images/12122025/08/15/image_12122025_08_15_44_9836.jpg', 2), ('/home/nano/Desktop/images/12122025/08/15/image_12122025_08_15_34_9888.jpg', 2), ('/home/nano/Desktop/images/12122025/08/15/image_12122025_08_15_25_9923.jpg', 2), ('/home/nano/Desktop/images/12122025/08/11/image_12122025_08_11_34_9840.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:17:03.321942 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/15/image_12122025_08_16_05_10873.jpg', 2), ('/home/nano/Desktop/images/12122025/08/15/image_12122025_08_15_54_9825.jpg', 2), ('/home/nano/Desktop/images/12122025/08/15/image_12122025_08_15_44_9836.jpg', 2), ('/home/nano/Desktop/images/12122025/08/15/image_12122025_08_15_34_9888.jpg', 2), ('/home/nano/Desktop/images/12122025/08/15/image_12122025_08_15_25_9923.jpg', 2), ('/home/nano/Desktop/images/12122025/08/11/image_12122025_08_11_34_9840.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:17:32.772616 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/15/image_12122025_08_16_05_10873.jpg', 2), ('/home/nano/Desktop/images/12122025/08/15/image_12122025_08_15_54_9825.jpg', 2), ('/home/nano/Desktop/images/12122025/08/15/image_12122025_08_15_44_9836.jpg', 2), ('/home/nano/Desktop/images/12122025/08/15/image_12122025_08_15_34_9888.jpg', 2), ('/home/nano/Desktop/images/12122025/08/15/image_12122025_08_15_25_9923.jpg', 2), ('/home/nano/Desktop/images/12122025/08/11/image_12122025_08_11_34_9840.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:18:02.420593 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/15/image_12122025_08_16_05_10873.jpg', 2), ('/home/nano/Desktop/images/12122025/08/15/image_12122025_08_15_54_9825.jpg', 2), ('/home/nano/Desktop/images/12122025/08/15/image_12122025_08_15_44_9836.jpg', 2), ('/home/nano/Desktop/images/12122025/08/15/image_12122025_08_15_34_9888.jpg', 2), ('/home/nano/Desktop/images/12122025/08/15/image_12122025_08_15_25_9923.jpg', 2), ('/home/nano/Desktop/images/12122025/08/11/image_12122025_08_11_34_9840.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:18:31.826496 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/18/image_12122025_08_18_25_9919.jpg', 2), ('/home/nano/Desktop/images/12122025/08/15/image_12122025_08_16_05_10873.jpg', 2), ('/home/nano/Desktop/images/12122025/08/15/image_12122025_08_15_54_9825.jpg', 2), ('/home/nano/Desktop/images/12122025/08/15/image_12122025_08_15_44_9836.jpg', 2), ('/home/nano/Desktop/images/12122025/08/15/image_12122025_08_15_34_9888.jpg', 2), ('/home/nano/Desktop/images/12122025/08/15/image_12122025_08_15_25_9923.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:19:02.982688 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/18/image_12122025_08_18_25_9919.jpg', 2), ('/home/nano/Desktop/images/12122025/08/15/image_12122025_08_16_05_10873.jpg', 2), ('/home/nano/Desktop/images/12122025/08/15/image_12122025_08_15_54_9825.jpg', 2), ('/home/nano/Desktop/images/12122025/08/15/image_12122025_08_15_44_9836.jpg', 2), ('/home/nano/Desktop/images/12122025/08/15/image_12122025_08_15_34_9888.jpg', 2), ('/home/nano/Desktop/images/12122025/08/15/image_12122025_08_15_25_9923.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:19:31.920329 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/19/image_12122025_08_19_44_9901.jpg', 2), ('/home/nano/Desktop/images/12122025/08/19/image_12122025_08_19_34_9926.jpg', 2), ('/home/nano/Desktop/images/12122025/08/18/image_12122025_08_19_04_9918.jpg', 2), ('/home/nano/Desktop/images/12122025/08/18/image_12122025_08_18_25_9919.jpg', 2), ('/home/nano/Desktop/images/12122025/08/15/image_12122025_08_16_05_10873.jpg', 2), ('/home/nano/Desktop/images/12122025/08/15/image_12122025_08_15_54_9825.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:20:02.496799 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/19/image_12122025_08_19_44_9901.jpg', 2), ('/home/nano/Desktop/images/12122025/08/19/image_12122025_08_19_34_9926.jpg', 2), ('/home/nano/Desktop/images/12122025/08/18/image_12122025_08_19_04_9918.jpg', 2), ('/home/nano/Desktop/images/12122025/08/18/image_12122025_08_18_25_9919.jpg', 2), ('/home/nano/Desktop/images/12122025/08/15/image_12122025_08_16_05_10873.jpg', 2), ('/home/nano/Desktop/images/12122025/08/15/image_12122025_08_15_54_9825.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:20:32.039961 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/20/image_12122025_08_20_44_9834.jpg', 2), ('/home/nano/Desktop/images/12122025/08/20/image_12122025_08_20_35_9740.jpg', 2), ('/home/nano/Desktop/images/12122025/08/20/image_12122025_08_20_25_9864.jpg', 2), ('/home/nano/Desktop/images/12122025/08/20/image_12122025_08_20_15_9997.jpg', 2), ('/home/nano/Desktop/images/12122025/08/19/image_12122025_08_20_05_9881.jpg', 2), ('/home/nano/Desktop/images/12122025/08/19/image_12122025_08_19_55_10905.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:21:02.538333 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/20/image_12122025_08_20_44_9834.jpg', 2), ('/home/nano/Desktop/images/12122025/08/20/image_12122025_08_20_35_9740.jpg', 2), ('/home/nano/Desktop/images/12122025/08/20/image_12122025_08_20_25_9864.jpg', 2), ('/home/nano/Desktop/images/12122025/08/20/image_12122025_08_20_15_9997.jpg', 2), ('/home/nano/Desktop/images/12122025/08/19/image_12122025_08_20_05_9881.jpg', 2), ('/home/nano/Desktop/images/12122025/08/19/image_12122025_08_19_55_10905.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:21:32.141463 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/21/image_12122025_08_21_25_9837.jpg', 2), ('/home/nano/Desktop/images/12122025/08/21/image_12122025_08_21_15_9836.jpg', 2), ('/home/nano/Desktop/images/12122025/08/20/image_12122025_08_21_05_10851.jpg', 2), ('/home/nano/Desktop/images/12122025/08/20/image_12122025_08_20_54_9836.jpg', 2), ('/home/nano/Desktop/images/12122025/08/20/image_12122025_08_20_44_9834.jpg', 2), ('/home/nano/Desktop/images/12122025/08/20/image_12122025_08_20_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:22:02.645790 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/21/image_12122025_08_21_25_9837.jpg', 2), ('/home/nano/Desktop/images/12122025/08/21/image_12122025_08_21_15_9836.jpg', 2), ('/home/nano/Desktop/images/12122025/08/20/image_12122025_08_21_05_10851.jpg', 2), ('/home/nano/Desktop/images/12122025/08/20/image_12122025_08_20_54_9836.jpg', 2), ('/home/nano/Desktop/images/12122025/08/20/image_12122025_08_20_44_9834.jpg', 2), ('/home/nano/Desktop/images/12122025/08/20/image_12122025_08_20_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:22:32.270023 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/21/image_12122025_08_21_25_9837.jpg', 2), ('/home/nano/Desktop/images/12122025/08/21/image_12122025_08_21_15_9836.jpg', 2), ('/home/nano/Desktop/images/12122025/08/20/image_12122025_08_21_05_10851.jpg', 2), ('/home/nano/Desktop/images/12122025/08/20/image_12122025_08_20_54_9836.jpg', 2), ('/home/nano/Desktop/images/12122025/08/20/image_12122025_08_20_44_9834.jpg', 2), ('/home/nano/Desktop/images/12122025/08/20/image_12122025_08_20_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:23:03.168421 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/21/image_12122025_08_21_25_9837.jpg', 2), ('/home/nano/Desktop/images/12122025/08/21/image_12122025_08_21_15_9836.jpg', 2), ('/home/nano/Desktop/images/12122025/08/20/image_12122025_08_21_05_10851.jpg', 2), ('/home/nano/Desktop/images/12122025/08/20/image_12122025_08_20_54_9836.jpg', 2), ('/home/nano/Desktop/images/12122025/08/20/image_12122025_08_20_44_9834.jpg', 2), ('/home/nano/Desktop/images/12122025/08/20/image_12122025_08_20_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:23:32.372471 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/21/image_12122025_08_21_25_9837.jpg', 2), ('/home/nano/Desktop/images/12122025/08/21/image_12122025_08_21_15_9836.jpg', 2), ('/home/nano/Desktop/images/12122025/08/20/image_12122025_08_21_05_10851.jpg', 2), ('/home/nano/Desktop/images/12122025/08/20/image_12122025_08_20_54_9836.jpg', 2), ('/home/nano/Desktop/images/12122025/08/20/image_12122025_08_20_44_9834.jpg', 2), ('/home/nano/Desktop/images/12122025/08/20/image_12122025_08_20_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:24:03.167049 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/21/image_12122025_08_21_25_9837.jpg', 2), ('/home/nano/Desktop/images/12122025/08/21/image_12122025_08_21_15_9836.jpg', 2), ('/home/nano/Desktop/images/12122025/08/20/image_12122025_08_21_05_10851.jpg', 2), ('/home/nano/Desktop/images/12122025/08/20/image_12122025_08_20_54_9836.jpg', 2), ('/home/nano/Desktop/images/12122025/08/20/image_12122025_08_20_44_9834.jpg', 2), ('/home/nano/Desktop/images/12122025/08/20/image_12122025_08_20_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:24:32.498806 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/21/image_12122025_08_21_25_9837.jpg', 2), ('/home/nano/Desktop/images/12122025/08/21/image_12122025_08_21_15_9836.jpg', 2), ('/home/nano/Desktop/images/12122025/08/20/image_12122025_08_21_05_10851.jpg', 2), ('/home/nano/Desktop/images/12122025/08/20/image_12122025_08_20_54_9836.jpg', 2), ('/home/nano/Desktop/images/12122025/08/20/image_12122025_08_20_44_9834.jpg', 2), ('/home/nano/Desktop/images/12122025/08/20/image_12122025_08_20_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:25:03.159991 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/21/image_12122025_08_21_25_9837.jpg', 2), ('/home/nano/Desktop/images/12122025/08/21/image_12122025_08_21_15_9836.jpg', 2), ('/home/nano/Desktop/images/12122025/08/20/image_12122025_08_21_05_10851.jpg', 2), ('/home/nano/Desktop/images/12122025/08/20/image_12122025_08_20_54_9836.jpg', 2), ('/home/nano/Desktop/images/12122025/08/20/image_12122025_08_20_44_9834.jpg', 2), ('/home/nano/Desktop/images/12122025/08/20/image_12122025_08_20_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:25:32.608952 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/21/image_12122025_08_21_25_9837.jpg', 2), ('/home/nano/Desktop/images/12122025/08/21/image_12122025_08_21_15_9836.jpg', 2), ('/home/nano/Desktop/images/12122025/08/20/image_12122025_08_21_05_10851.jpg', 2), ('/home/nano/Desktop/images/12122025/08/20/image_12122025_08_20_54_9836.jpg', 2), ('/home/nano/Desktop/images/12122025/08/20/image_12122025_08_20_44_9834.jpg', 2), ('/home/nano/Desktop/images/12122025/08/20/image_12122025_08_20_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:26:03.325861 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/21/image_12122025_08_21_25_9837.jpg', 2), ('/home/nano/Desktop/images/12122025/08/21/image_12122025_08_21_15_9836.jpg', 2), ('/home/nano/Desktop/images/12122025/08/20/image_12122025_08_21_05_10851.jpg', 2), ('/home/nano/Desktop/images/12122025/08/20/image_12122025_08_20_54_9836.jpg', 2), ('/home/nano/Desktop/images/12122025/08/20/image_12122025_08_20_44_9834.jpg', 2), ('/home/nano/Desktop/images/12122025/08/20/image_12122025_08_20_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:26:32.767429 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/21/image_12122025_08_21_25_9837.jpg', 2), ('/home/nano/Desktop/images/12122025/08/21/image_12122025_08_21_15_9836.jpg', 2), ('/home/nano/Desktop/images/12122025/08/20/image_12122025_08_21_05_10851.jpg', 2), ('/home/nano/Desktop/images/12122025/08/20/image_12122025_08_20_54_9836.jpg', 2), ('/home/nano/Desktop/images/12122025/08/20/image_12122025_08_20_44_9834.jpg', 2), ('/home/nano/Desktop/images/12122025/08/20/image_12122025_08_20_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:27:02.409404 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/21/image_12122025_08_21_25_9837.jpg', 2), ('/home/nano/Desktop/images/12122025/08/21/image_12122025_08_21_15_9836.jpg', 2), ('/home/nano/Desktop/images/12122025/08/20/image_12122025_08_21_05_10851.jpg', 2), ('/home/nano/Desktop/images/12122025/08/20/image_12122025_08_20_54_9836.jpg', 2), ('/home/nano/Desktop/images/12122025/08/20/image_12122025_08_20_44_9834.jpg', 2), ('/home/nano/Desktop/images/12122025/08/20/image_12122025_08_20_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:27:31.949857 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/21/image_12122025_08_21_25_9837.jpg', 2), ('/home/nano/Desktop/images/12122025/08/21/image_12122025_08_21_15_9836.jpg', 2), ('/home/nano/Desktop/images/12122025/08/20/image_12122025_08_21_05_10851.jpg', 2), ('/home/nano/Desktop/images/12122025/08/20/image_12122025_08_20_54_9836.jpg', 2), ('/home/nano/Desktop/images/12122025/08/20/image_12122025_08_20_44_9834.jpg', 2), ('/home/nano/Desktop/images/12122025/08/20/image_12122025_08_20_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:28:02.410376 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/21/image_12122025_08_21_25_9837.jpg', 2), ('/home/nano/Desktop/images/12122025/08/21/image_12122025_08_21_15_9836.jpg', 2), ('/home/nano/Desktop/images/12122025/08/20/image_12122025_08_21_05_10851.jpg', 2), ('/home/nano/Desktop/images/12122025/08/20/image_12122025_08_20_54_9836.jpg', 2), ('/home/nano/Desktop/images/12122025/08/20/image_12122025_08_20_44_9834.jpg', 2), ('/home/nano/Desktop/images/12122025/08/20/image_12122025_08_20_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:28:31.987304 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/21/image_12122025_08_21_25_9837.jpg', 2), ('/home/nano/Desktop/images/12122025/08/21/image_12122025_08_21_15_9836.jpg', 2), ('/home/nano/Desktop/images/12122025/08/20/image_12122025_08_21_05_10851.jpg', 2), ('/home/nano/Desktop/images/12122025/08/20/image_12122025_08_20_54_9836.jpg', 2), ('/home/nano/Desktop/images/12122025/08/20/image_12122025_08_20_44_9834.jpg', 2), ('/home/nano/Desktop/images/12122025/08/20/image_12122025_08_20_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:29:03.018765 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/21/image_12122025_08_21_25_9837.jpg', 2), ('/home/nano/Desktop/images/12122025/08/21/image_12122025_08_21_15_9836.jpg', 2), ('/home/nano/Desktop/images/12122025/08/20/image_12122025_08_21_05_10851.jpg', 2), ('/home/nano/Desktop/images/12122025/08/20/image_12122025_08_20_54_9836.jpg', 2), ('/home/nano/Desktop/images/12122025/08/20/image_12122025_08_20_44_9834.jpg', 2), ('/home/nano/Desktop/images/12122025/08/20/image_12122025_08_20_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:29:32.071502 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/29/image_12122025_08_29_45_9885.jpg', 2), ('/home/nano/Desktop/images/12122025/08/29/image_12122025_08_29_35_9958.jpg', 2), ('/home/nano/Desktop/images/12122025/08/21/image_12122025_08_21_25_9837.jpg', 2), ('/home/nano/Desktop/images/12122025/08/21/image_12122025_08_21_15_9836.jpg', 2), ('/home/nano/Desktop/images/12122025/08/20/image_12122025_08_21_05_10851.jpg', 2), ('/home/nano/Desktop/images/12122025/08/20/image_12122025_08_20_54_9836.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:30:02.514966 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/29/image_12122025_08_29_45_9885.jpg', 2), ('/home/nano/Desktop/images/12122025/08/29/image_12122025_08_29_35_9958.jpg', 2), ('/home/nano/Desktop/images/12122025/08/21/image_12122025_08_21_25_9837.jpg', 2), ('/home/nano/Desktop/images/12122025/08/21/image_12122025_08_21_15_9836.jpg', 2), ('/home/nano/Desktop/images/12122025/08/20/image_12122025_08_21_05_10851.jpg', 2), ('/home/nano/Desktop/images/12122025/08/20/image_12122025_08_20_54_9836.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:30:32.204076 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/30/image_12122025_08_30_45_9868.jpg', 2), ('/home/nano/Desktop/images/12122025/08/30/image_12122025_08_30_35_10876.jpg', 2), ('/home/nano/Desktop/images/12122025/08/30/image_12122025_08_30_24_9881.jpg', 2), ('/home/nano/Desktop/images/12122025/08/30/image_12122025_08_30_14_9897.jpg', 2), ('/home/nano/Desktop/images/12122025/08/29/image_12122025_08_30_04_9915.jpg', 2), ('/home/nano/Desktop/images/12122025/08/29/image_12122025_08_29_54_9838.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:31:02.957621 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/30/image_12122025_08_30_45_9868.jpg', 2), ('/home/nano/Desktop/images/12122025/08/30/image_12122025_08_30_35_10876.jpg', 2), ('/home/nano/Desktop/images/12122025/08/30/image_12122025_08_30_24_9881.jpg', 2), ('/home/nano/Desktop/images/12122025/08/30/image_12122025_08_30_14_9897.jpg', 2), ('/home/nano/Desktop/images/12122025/08/29/image_12122025_08_30_04_9915.jpg', 2), ('/home/nano/Desktop/images/12122025/08/29/image_12122025_08_29_54_9838.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:31:32.279765 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/31/image_12122025_08_31_24_9860.jpg', 2), ('/home/nano/Desktop/images/12122025/08/31/image_12122025_08_31_14_9914.jpg', 2), ('/home/nano/Desktop/images/12122025/08/30/image_12122025_08_31_05_9834.jpg', 2), ('/home/nano/Desktop/images/12122025/08/30/image_12122025_08_30_55_9864.jpg', 2), ('/home/nano/Desktop/images/12122025/08/30/image_12122025_08_30_45_9868.jpg', 2), ('/home/nano/Desktop/images/12122025/08/30/image_12122025_08_30_35_10876.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:32:02.951952 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/31/image_12122025_08_31_24_9860.jpg', 2), ('/home/nano/Desktop/images/12122025/08/31/image_12122025_08_31_14_9914.jpg', 2), ('/home/nano/Desktop/images/12122025/08/30/image_12122025_08_31_05_9834.jpg', 2), ('/home/nano/Desktop/images/12122025/08/30/image_12122025_08_30_55_9864.jpg', 2), ('/home/nano/Desktop/images/12122025/08/30/image_12122025_08_30_45_9868.jpg', 2), ('/home/nano/Desktop/images/12122025/08/30/image_12122025_08_30_35_10876.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:32:32.456117 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/32/image_12122025_08_32_44_9837.jpg', 2), ('/home/nano/Desktop/images/12122025/08/32/image_12122025_08_32_35_9834.jpg', 2), ('/home/nano/Desktop/images/12122025/08/32/image_12122025_08_32_25_9857.jpg', 2), ('/home/nano/Desktop/images/12122025/08/32/image_12122025_08_32_15_9862.jpg', 2), ('/home/nano/Desktop/images/12122025/08/31/image_12122025_08_32_05_9904.jpg', 2), ('/home/nano/Desktop/images/12122025/08/31/image_12122025_08_31_55_10944.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:33:03.127256 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/32/image_12122025_08_32_44_9837.jpg', 2), ('/home/nano/Desktop/images/12122025/08/32/image_12122025_08_32_35_9834.jpg', 2), ('/home/nano/Desktop/images/12122025/08/32/image_12122025_08_32_25_9857.jpg', 2), ('/home/nano/Desktop/images/12122025/08/32/image_12122025_08_32_15_9862.jpg', 2), ('/home/nano/Desktop/images/12122025/08/31/image_12122025_08_32_05_9904.jpg', 2), ('/home/nano/Desktop/images/12122025/08/31/image_12122025_08_31_55_10944.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:33:32.615889 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/33/image_12122025_08_33_45_9896.jpg', 2), ('/home/nano/Desktop/images/12122025/08/33/image_12122025_08_33_35_9847.jpg', 2), ('/home/nano/Desktop/images/12122025/08/33/image_12122025_08_33_25_9880.jpg', 2), ('/home/nano/Desktop/images/12122025/08/33/image_12122025_08_33_15_9830.jpg', 2), ('/home/nano/Desktop/images/12122025/08/32/image_12122025_08_33_05_10903.jpg', 2), ('/home/nano/Desktop/images/12122025/08/32/image_12122025_08_32_54_9833.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:34:03.538006 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/33/image_12122025_08_33_45_9896.jpg', 2), ('/home/nano/Desktop/images/12122025/08/33/image_12122025_08_33_35_9847.jpg', 2), ('/home/nano/Desktop/images/12122025/08/33/image_12122025_08_33_25_9880.jpg', 2), ('/home/nano/Desktop/images/12122025/08/33/image_12122025_08_33_15_9830.jpg', 2), ('/home/nano/Desktop/images/12122025/08/32/image_12122025_08_33_05_10903.jpg', 2), ('/home/nano/Desktop/images/12122025/08/32/image_12122025_08_32_54_9833.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:34:32.714547 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/34/image_12122025_08_34_45_9896.jpg', 2), ('/home/nano/Desktop/images/12122025/08/34/image_12122025_08_34_35_10922.jpg', 2), ('/home/nano/Desktop/images/12122025/08/34/image_12122025_08_34_24_9907.jpg', 2), ('/home/nano/Desktop/images/12122025/08/34/image_12122025_08_34_14_9916.jpg', 2), ('/home/nano/Desktop/images/12122025/08/33/image_12122025_08_34_04_9899.jpg', 2), ('/home/nano/Desktop/images/12122025/08/33/image_12122025_08_33_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:35:02.479204 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/34/image_12122025_08_34_45_9896.jpg', 2), ('/home/nano/Desktop/images/12122025/08/34/image_12122025_08_34_35_10922.jpg', 2), ('/home/nano/Desktop/images/12122025/08/34/image_12122025_08_34_24_9907.jpg', 2), ('/home/nano/Desktop/images/12122025/08/34/image_12122025_08_34_14_9916.jpg', 2), ('/home/nano/Desktop/images/12122025/08/33/image_12122025_08_34_04_9899.jpg', 2), ('/home/nano/Desktop/images/12122025/08/33/image_12122025_08_33_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:35:31.880607 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/35/image_12122025_08_35_44_9889.jpg', 2), ('/home/nano/Desktop/images/12122025/08/35/image_12122025_08_35_34_9890.jpg', 2), ('/home/nano/Desktop/images/12122025/08/35/image_12122025_08_35_25_9885.jpg', 2), ('/home/nano/Desktop/images/12122025/08/35/image_12122025_08_35_15_9938.jpg', 2), ('/home/nano/Desktop/images/12122025/08/34/image_12122025_08_35_05_9898.jpg', 2), ('/home/nano/Desktop/images/12122025/08/34/image_12122025_08_34_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:36:02.296330 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/35/image_12122025_08_35_44_9889.jpg', 2), ('/home/nano/Desktop/images/12122025/08/35/image_12122025_08_35_34_9890.jpg', 2), ('/home/nano/Desktop/images/12122025/08/35/image_12122025_08_35_25_9885.jpg', 2), ('/home/nano/Desktop/images/12122025/08/35/image_12122025_08_35_15_9938.jpg', 2), ('/home/nano/Desktop/images/12122025/08/34/image_12122025_08_35_05_9898.jpg', 2), ('/home/nano/Desktop/images/12122025/08/34/image_12122025_08_34_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:36:31.998488 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/36/image_12122025_08_36_45_9897.jpg', 2), ('/home/nano/Desktop/images/12122025/08/36/image_12122025_08_36_35_9816.jpg', 2), ('/home/nano/Desktop/images/12122025/08/36/image_12122025_08_36_25_9848.jpg', 2), ('/home/nano/Desktop/images/12122025/08/36/image_12122025_08_36_15_10915.jpg', 2), ('/home/nano/Desktop/images/12122025/08/35/image_12122025_08_36_04_9894.jpg', 2), ('/home/nano/Desktop/images/12122025/08/35/image_12122025_08_35_54_9906.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:37:02.788018 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/36/image_12122025_08_36_45_9897.jpg', 2), ('/home/nano/Desktop/images/12122025/08/36/image_12122025_08_36_35_9816.jpg', 2), ('/home/nano/Desktop/images/12122025/08/36/image_12122025_08_36_25_9848.jpg', 2), ('/home/nano/Desktop/images/12122025/08/36/image_12122025_08_36_15_10915.jpg', 2), ('/home/nano/Desktop/images/12122025/08/35/image_12122025_08_36_04_9894.jpg', 2), ('/home/nano/Desktop/images/12122025/08/35/image_12122025_08_35_54_9906.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:37:32.023974 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/37/image_12122025_08_37_45_9840.jpg', 2), ('/home/nano/Desktop/images/12122025/08/37/image_12122025_08_37_35_10856.jpg', 2), ('/home/nano/Desktop/images/12122025/08/37/image_12122025_08_37_24_9866.jpg', 2), ('/home/nano/Desktop/images/12122025/08/37/image_12122025_08_37_14_9959.jpg', 2), ('/home/nano/Desktop/images/12122025/08/36/image_12122025_08_37_04_9833.jpg', 2), ('/home/nano/Desktop/images/12122025/08/36/image_12122025_08_36_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:38:02.736521 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/37/image_12122025_08_37_45_9840.jpg', 2), ('/home/nano/Desktop/images/12122025/08/37/image_12122025_08_37_35_10856.jpg', 2), ('/home/nano/Desktop/images/12122025/08/37/image_12122025_08_37_24_9866.jpg', 2), ('/home/nano/Desktop/images/12122025/08/37/image_12122025_08_37_14_9959.jpg', 2), ('/home/nano/Desktop/images/12122025/08/36/image_12122025_08_37_04_9833.jpg', 2), ('/home/nano/Desktop/images/12122025/08/36/image_12122025_08_36_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:38:32.114727 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/38/image_12122025_08_38_45_10857.jpg', 2), ('/home/nano/Desktop/images/12122025/08/38/image_12122025_08_38_34_9837.jpg', 2), ('/home/nano/Desktop/images/12122025/08/38/image_12122025_08_38_24_9848.jpg', 2), ('/home/nano/Desktop/images/12122025/08/38/image_12122025_08_38_14_9867.jpg', 2), ('/home/nano/Desktop/images/12122025/08/37/image_12122025_08_38_05_9851.jpg', 2), ('/home/nano/Desktop/images/12122025/08/37/image_12122025_08_37_55_9844.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:39:03.239999 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/38/image_12122025_08_38_45_10857.jpg', 2), ('/home/nano/Desktop/images/12122025/08/38/image_12122025_08_38_34_9837.jpg', 2), ('/home/nano/Desktop/images/12122025/08/38/image_12122025_08_38_24_9848.jpg', 2), ('/home/nano/Desktop/images/12122025/08/38/image_12122025_08_38_14_9867.jpg', 2), ('/home/nano/Desktop/images/12122025/08/37/image_12122025_08_38_05_9851.jpg', 2), ('/home/nano/Desktop/images/12122025/08/37/image_12122025_08_37_55_9844.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:39:32.261344 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/39/image_12122025_08_39_44_9888.jpg', 2), ('/home/nano/Desktop/images/12122025/08/39/image_12122025_08_39_34_9882.jpg', 2), ('/home/nano/Desktop/images/12122025/08/39/image_12122025_08_39_24_9881.jpg', 2), ('/home/nano/Desktop/images/12122025/08/39/image_12122025_08_39_15_9889.jpg', 2), ('/home/nano/Desktop/images/12122025/08/38/image_12122025_08_39_05_9885.jpg', 2), ('/home/nano/Desktop/images/12122025/08/38/image_12122025_08_38_55_9833.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:40:02.858782 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/39/image_12122025_08_39_44_9888.jpg', 2), ('/home/nano/Desktop/images/12122025/08/39/image_12122025_08_39_34_9882.jpg', 2), ('/home/nano/Desktop/images/12122025/08/39/image_12122025_08_39_24_9881.jpg', 2), ('/home/nano/Desktop/images/12122025/08/39/image_12122025_08_39_15_9889.jpg', 2), ('/home/nano/Desktop/images/12122025/08/38/image_12122025_08_39_05_9885.jpg', 2), ('/home/nano/Desktop/images/12122025/08/38/image_12122025_08_38_55_9833.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:40:32.358999 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/40/image_12122025_08_40_45_9883.jpg', 2), ('/home/nano/Desktop/images/12122025/08/40/image_12122025_08_40_35_9885.jpg', 2), ('/home/nano/Desktop/images/12122025/08/40/image_12122025_08_40_25_9877.jpg', 2), ('/home/nano/Desktop/images/12122025/08/40/image_12122025_08_40_15_9908.jpg', 2), ('/home/nano/Desktop/images/12122025/08/39/image_12122025_08_40_05_10913.jpg', 2), ('/home/nano/Desktop/images/12122025/08/39/image_12122025_08_39_54_9888.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:41:03.150443 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/40/image_12122025_08_40_45_9883.jpg', 2), ('/home/nano/Desktop/images/12122025/08/40/image_12122025_08_40_35_9885.jpg', 2), ('/home/nano/Desktop/images/12122025/08/40/image_12122025_08_40_25_9877.jpg', 2), ('/home/nano/Desktop/images/12122025/08/40/image_12122025_08_40_15_9908.jpg', 2), ('/home/nano/Desktop/images/12122025/08/39/image_12122025_08_40_05_10913.jpg', 2), ('/home/nano/Desktop/images/12122025/08/39/image_12122025_08_39_54_9888.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:41:32.468074 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/41/image_12122025_08_41_45_10898.jpg', 2), ('/home/nano/Desktop/images/12122025/08/41/image_12122025_08_41_34_9928.jpg', 2), ('/home/nano/Desktop/images/12122025/08/40/image_12122025_08_41_04_9883.jpg', 2), ('/home/nano/Desktop/images/12122025/08/40/image_12122025_08_40_54_9878.jpg', 2), ('/home/nano/Desktop/images/12122025/08/40/image_12122025_08_40_45_9883.jpg', 2), ('/home/nano/Desktop/images/12122025/08/40/image_12122025_08_40_35_9885.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:42:03.121576 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/41/image_12122025_08_41_45_10898.jpg', 2), ('/home/nano/Desktop/images/12122025/08/41/image_12122025_08_41_34_9928.jpg', 2), ('/home/nano/Desktop/images/12122025/08/40/image_12122025_08_41_04_9883.jpg', 2), ('/home/nano/Desktop/images/12122025/08/40/image_12122025_08_40_54_9878.jpg', 2), ('/home/nano/Desktop/images/12122025/08/40/image_12122025_08_40_45_9883.jpg', 2), ('/home/nano/Desktop/images/12122025/08/40/image_12122025_08_40_35_9885.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:42:32.540347 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/42/image_12122025_08_42_44_9840.jpg', 2), ('/home/nano/Desktop/images/12122025/08/42/image_12122025_08_42_34_9873.jpg', 2), ('/home/nano/Desktop/images/12122025/08/42/image_12122025_08_42_25_9850.jpg', 2), ('/home/nano/Desktop/images/12122025/08/42/image_12122025_08_42_15_9942.jpg', 2), ('/home/nano/Desktop/images/12122025/08/41/image_12122025_08_42_05_9863.jpg', 2), ('/home/nano/Desktop/images/12122025/08/41/image_12122025_08_41_55_9815.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:43:03.396943 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/42/image_12122025_08_42_44_9840.jpg', 2), ('/home/nano/Desktop/images/12122025/08/42/image_12122025_08_42_34_9873.jpg', 2), ('/home/nano/Desktop/images/12122025/08/42/image_12122025_08_42_25_9850.jpg', 2), ('/home/nano/Desktop/images/12122025/08/42/image_12122025_08_42_15_9942.jpg', 2), ('/home/nano/Desktop/images/12122025/08/41/image_12122025_08_42_05_9863.jpg', 2), ('/home/nano/Desktop/images/12122025/08/41/image_12122025_08_41_55_9815.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:43:32.653993 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/43/image_12122025_08_43_44_9844.jpg', 2), ('/home/nano/Desktop/images/12122025/08/43/image_12122025_08_43_34_9843.jpg', 2), ('/home/nano/Desktop/images/12122025/08/43/image_12122025_08_43_25_9848.jpg', 2), ('/home/nano/Desktop/images/12122025/08/43/image_12122025_08_43_15_9863.jpg', 2), ('/home/nano/Desktop/images/12122025/08/42/image_12122025_08_43_05_9858.jpg', 2), ('/home/nano/Desktop/images/12122025/08/42/image_12122025_08_42_55_10850.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:44:02.527439 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/43/image_12122025_08_43_44_9844.jpg', 2), ('/home/nano/Desktop/images/12122025/08/43/image_12122025_08_43_34_9843.jpg', 2), ('/home/nano/Desktop/images/12122025/08/43/image_12122025_08_43_25_9848.jpg', 2), ('/home/nano/Desktop/images/12122025/08/43/image_12122025_08_43_15_9863.jpg', 2), ('/home/nano/Desktop/images/12122025/08/42/image_12122025_08_43_05_9858.jpg', 2), ('/home/nano/Desktop/images/12122025/08/42/image_12122025_08_42_55_10850.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:44:31.781295 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/44/image_12122025_08_44_44_9842.jpg', 2), ('/home/nano/Desktop/images/12122025/08/44/image_12122025_08_44_35_9847.jpg', 2), ('/home/nano/Desktop/images/12122025/08/44/image_12122025_08_44_25_9850.jpg', 2), ('/home/nano/Desktop/images/12122025/08/44/image_12122025_08_44_15_9873.jpg', 2), ('/home/nano/Desktop/images/12122025/08/43/image_12122025_08_44_05_10864.jpg', 2), ('/home/nano/Desktop/images/12122025/08/43/image_12122025_08_43_54_9845.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:45:02.477372 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/44/image_12122025_08_44_44_9842.jpg', 2), ('/home/nano/Desktop/images/12122025/08/44/image_12122025_08_44_35_9847.jpg', 2), ('/home/nano/Desktop/images/12122025/08/44/image_12122025_08_44_25_9850.jpg', 2), ('/home/nano/Desktop/images/12122025/08/44/image_12122025_08_44_15_9873.jpg', 2), ('/home/nano/Desktop/images/12122025/08/43/image_12122025_08_44_05_10864.jpg', 2), ('/home/nano/Desktop/images/12122025/08/43/image_12122025_08_43_54_9845.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:45:31.906417 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/45/image_12122025_08_45_45_9844.jpg', 2), ('/home/nano/Desktop/images/12122025/08/45/image_12122025_08_45_35_9843.jpg', 2), ('/home/nano/Desktop/images/12122025/08/45/image_12122025_08_45_25_9847.jpg', 2), ('/home/nano/Desktop/images/12122025/08/45/image_12122025_08_45_15_10882.jpg', 2), ('/home/nano/Desktop/images/12122025/08/44/image_12122025_08_45_04_9862.jpg', 2), ('/home/nano/Desktop/images/12122025/08/44/image_12122025_08_44_54_9848.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:46:02.368429 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/45/image_12122025_08_45_45_9844.jpg', 2), ('/home/nano/Desktop/images/12122025/08/45/image_12122025_08_45_35_9843.jpg', 2), ('/home/nano/Desktop/images/12122025/08/45/image_12122025_08_45_25_9847.jpg', 2), ('/home/nano/Desktop/images/12122025/08/45/image_12122025_08_45_15_10882.jpg', 2), ('/home/nano/Desktop/images/12122025/08/44/image_12122025_08_45_04_9862.jpg', 2), ('/home/nano/Desktop/images/12122025/08/44/image_12122025_08_44_54_9848.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:46:32.014166 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/46/image_12122025_08_46_45_9856.jpg', 2), ('/home/nano/Desktop/images/12122025/08/46/image_12122025_08_46_35_9841.jpg', 2), ('/home/nano/Desktop/images/12122025/08/46/image_12122025_08_46_25_10859.jpg', 2), ('/home/nano/Desktop/images/12122025/08/46/image_12122025_08_46_14_9881.jpg', 2), ('/home/nano/Desktop/images/12122025/08/45/image_12122025_08_46_04_9872.jpg', 2), ('/home/nano/Desktop/images/12122025/08/45/image_12122025_08_45_54_9847.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:47:02.645160 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/46/image_12122025_08_46_45_9856.jpg', 2), ('/home/nano/Desktop/images/12122025/08/46/image_12122025_08_46_35_9841.jpg', 2), ('/home/nano/Desktop/images/12122025/08/46/image_12122025_08_46_25_10859.jpg', 2), ('/home/nano/Desktop/images/12122025/08/46/image_12122025_08_46_14_9881.jpg', 2), ('/home/nano/Desktop/images/12122025/08/45/image_12122025_08_46_04_9872.jpg', 2), ('/home/nano/Desktop/images/12122025/08/45/image_12122025_08_45_54_9847.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:47:32.101408 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/47/image_12122025_08_47_45_9849.jpg', 2), ('/home/nano/Desktop/images/12122025/08/47/image_12122025_08_47_35_10860.jpg', 2), ('/home/nano/Desktop/images/12122025/08/47/image_12122025_08_47_24_9847.jpg', 2), ('/home/nano/Desktop/images/12122025/08/47/image_12122025_08_47_14_9865.jpg', 2), ('/home/nano/Desktop/images/12122025/08/46/image_12122025_08_47_04_9879.jpg', 2), ('/home/nano/Desktop/images/12122025/08/46/image_12122025_08_46_55_9848.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:48:02.688788 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/47/image_12122025_08_47_45_9849.jpg', 2), ('/home/nano/Desktop/images/12122025/08/47/image_12122025_08_47_35_10860.jpg', 2), ('/home/nano/Desktop/images/12122025/08/47/image_12122025_08_47_24_9847.jpg', 2), ('/home/nano/Desktop/images/12122025/08/47/image_12122025_08_47_14_9865.jpg', 2), ('/home/nano/Desktop/images/12122025/08/46/image_12122025_08_47_04_9879.jpg', 2), ('/home/nano/Desktop/images/12122025/08/46/image_12122025_08_46_55_9848.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:48:32.196979 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/48/image_12122025_08_48_45_10859.jpg', 2), ('/home/nano/Desktop/images/12122025/08/48/image_12122025_08_48_34_9842.jpg', 2), ('/home/nano/Desktop/images/12122025/08/48/image_12122025_08_48_24_9849.jpg', 2), ('/home/nano/Desktop/images/12122025/08/48/image_12122025_08_48_14_9864.jpg', 2), ('/home/nano/Desktop/images/12122025/08/47/image_12122025_08_48_05_9849.jpg', 2), ('/home/nano/Desktop/images/12122025/08/47/image_12122025_08_47_55_9847.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:49:03.250988 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/48/image_12122025_08_48_45_10859.jpg', 2), ('/home/nano/Desktop/images/12122025/08/48/image_12122025_08_48_34_9842.jpg', 2), ('/home/nano/Desktop/images/12122025/08/48/image_12122025_08_48_24_9849.jpg', 2), ('/home/nano/Desktop/images/12122025/08/48/image_12122025_08_48_14_9864.jpg', 2), ('/home/nano/Desktop/images/12122025/08/47/image_12122025_08_48_05_9849.jpg', 2), ('/home/nano/Desktop/images/12122025/08/47/image_12122025_08_47_55_9847.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:49:32.277067 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/49/image_12122025_08_49_44_9851.jpg', 2), ('/home/nano/Desktop/images/12122025/08/49/image_12122025_08_49_34_9849.jpg', 2), ('/home/nano/Desktop/images/12122025/08/49/image_12122025_08_49_24_9849.jpg', 2), ('/home/nano/Desktop/images/12122025/08/49/image_12122025_08_49_15_9869.jpg', 2), ('/home/nano/Desktop/images/12122025/08/48/image_12122025_08_49_05_9860.jpg', 2), ('/home/nano/Desktop/images/12122025/08/48/image_12122025_08_48_55_9848.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:50:02.829763 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/50/image_12122025_08_50_15_9934.jpg', 2), ('/home/nano/Desktop/images/12122025/08/49/image_12122025_08_49_44_9851.jpg', 2), ('/home/nano/Desktop/images/12122025/08/49/image_12122025_08_49_34_9849.jpg', 2), ('/home/nano/Desktop/images/12122025/08/49/image_12122025_08_49_24_9849.jpg', 2), ('/home/nano/Desktop/images/12122025/08/49/image_12122025_08_49_15_9869.jpg', 2), ('/home/nano/Desktop/images/12122025/08/48/image_12122025_08_49_05_9860.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:50:32.407613 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/50/image_12122025_08_50_44_9911.jpg', 2), ('/home/nano/Desktop/images/12122025/08/50/image_12122025_08_50_34_9736.jpg', 2), ('/home/nano/Desktop/images/12122025/08/50/image_12122025_08_50_25_9833.jpg', 2), ('/home/nano/Desktop/images/12122025/08/50/image_12122025_08_50_15_9934.jpg', 2), ('/home/nano/Desktop/images/12122025/08/49/image_12122025_08_50_05_9873.jpg', 2), ('/home/nano/Desktop/images/12122025/08/49/image_12122025_08_49_55_10860.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:51:03.163365 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/50/image_12122025_08_50_44_9911.jpg', 2), ('/home/nano/Desktop/images/12122025/08/50/image_12122025_08_50_34_9736.jpg', 2), ('/home/nano/Desktop/images/12122025/08/50/image_12122025_08_50_25_9833.jpg', 2), ('/home/nano/Desktop/images/12122025/08/50/image_12122025_08_50_15_9934.jpg', 2), ('/home/nano/Desktop/images/12122025/08/49/image_12122025_08_50_05_9873.jpg', 2), ('/home/nano/Desktop/images/12122025/08/49/image_12122025_08_49_55_10860.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:51:32.455210 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/51/image_12122025_08_51_25_9661.jpg', 2), ('/home/nano/Desktop/images/12122025/08/51/image_12122025_08_51_15_10775.jpg', 2), ('/home/nano/Desktop/images/12122025/08/50/image_12122025_08_51_04_9891.jpg', 2), ('/home/nano/Desktop/images/12122025/08/50/image_12122025_08_50_54_9937.jpg', 2), ('/home/nano/Desktop/images/12122025/08/50/image_12122025_08_50_44_9911.jpg', 2), ('/home/nano/Desktop/images/12122025/08/50/image_12122025_08_50_34_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:52:03.112915 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/51/image_12122025_08_51_25_9661.jpg', 2), ('/home/nano/Desktop/images/12122025/08/51/image_12122025_08_51_15_10775.jpg', 2), ('/home/nano/Desktop/images/12122025/08/50/image_12122025_08_51_04_9891.jpg', 2), ('/home/nano/Desktop/images/12122025/08/50/image_12122025_08_50_54_9937.jpg', 2), ('/home/nano/Desktop/images/12122025/08/50/image_12122025_08_50_44_9911.jpg', 2), ('/home/nano/Desktop/images/12122025/08/50/image_12122025_08_50_34_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:52:32.573154 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/52/image_12122025_08_52_45_10646.jpg', 2), ('/home/nano/Desktop/images/12122025/08/52/image_12122025_08_52_34_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/08/52/image_12122025_08_52_24_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/08/52/image_12122025_08_52_15_10669.jpg', 2), ('/home/nano/Desktop/images/12122025/08/51/image_12122025_08_51_54_9646.jpg', 2), ('/home/nano/Desktop/images/12122025/08/51/image_12122025_08_51_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:53:03.301453 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/52/image_12122025_08_52_45_10646.jpg', 2), ('/home/nano/Desktop/images/12122025/08/52/image_12122025_08_52_34_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/08/52/image_12122025_08_52_24_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/08/52/image_12122025_08_52_15_10669.jpg', 2), ('/home/nano/Desktop/images/12122025/08/51/image_12122025_08_51_54_9646.jpg', 2), ('/home/nano/Desktop/images/12122025/08/51/image_12122025_08_51_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:53:32.680778 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/52/image_12122025_08_53_05_10654.jpg', 2), ('/home/nano/Desktop/images/12122025/08/52/image_12122025_08_52_54_9636.jpg', 2), ('/home/nano/Desktop/images/12122025/08/52/image_12122025_08_52_45_10646.jpg', 2), ('/home/nano/Desktop/images/12122025/08/52/image_12122025_08_52_34_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/08/52/image_12122025_08_52_24_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/08/52/image_12122025_08_52_15_10669.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:54:02.661023 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/52/image_12122025_08_53_05_10654.jpg', 2), ('/home/nano/Desktop/images/12122025/08/52/image_12122025_08_52_54_9636.jpg', 2), ('/home/nano/Desktop/images/12122025/08/52/image_12122025_08_52_45_10646.jpg', 2), ('/home/nano/Desktop/images/12122025/08/52/image_12122025_08_52_34_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/08/52/image_12122025_08_52_24_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/08/52/image_12122025_08_52_15_10669.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:54:31.914406 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/54/image_12122025_08_54_44_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/08/54/image_12122025_08_54_35_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/08/54/image_12122025_08_54_24_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/08/54/image_12122025_08_54_15_9644.jpg', 2), ('/home/nano/Desktop/images/12122025/08/53/image_12122025_08_53_15_9651.jpg', 2), ('/home/nano/Desktop/images/12122025/08/52/image_12122025_08_53_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:55:02.517380 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/54/image_12122025_08_54_44_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/08/54/image_12122025_08_54_35_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/08/54/image_12122025_08_54_24_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/08/54/image_12122025_08_54_15_9644.jpg', 2), ('/home/nano/Desktop/images/12122025/08/53/image_12122025_08_53_15_9651.jpg', 2), ('/home/nano/Desktop/images/12122025/08/52/image_12122025_08_53_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:55:31.971305 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/55/image_12122025_08_55_44_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/08/55/image_12122025_08_55_35_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/08/55/image_12122025_08_55_25_10668.jpg', 2), ('/home/nano/Desktop/images/12122025/08/55/image_12122025_08_55_14_9644.jpg', 2), ('/home/nano/Desktop/images/12122025/08/54/image_12122025_08_55_05_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/08/54/image_12122025_08_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:56:02.552657 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/55/image_12122025_08_55_44_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/08/55/image_12122025_08_55_35_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/08/55/image_12122025_08_55_25_10668.jpg', 2), ('/home/nano/Desktop/images/12122025/08/55/image_12122025_08_55_14_9644.jpg', 2), ('/home/nano/Desktop/images/12122025/08/54/image_12122025_08_55_05_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/08/54/image_12122025_08_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:56:32.078585 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/56/image_12122025_08_56_45_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/08/56/image_12122025_08_56_34_9657.jpg', 2), ('/home/nano/Desktop/images/12122025/08/56/image_12122025_08_56_25_10638.jpg', 2), ('/home/nano/Desktop/images/12122025/08/56/image_12122025_08_56_14_9631.jpg', 2), ('/home/nano/Desktop/images/12122025/08/55/image_12122025_08_56_04_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/08/55/image_12122025_08_55_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:57:03.041283 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/56/image_12122025_08_56_45_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/08/56/image_12122025_08_56_34_9657.jpg', 2), ('/home/nano/Desktop/images/12122025/08/56/image_12122025_08_56_25_10638.jpg', 2), ('/home/nano/Desktop/images/12122025/08/56/image_12122025_08_56_14_9631.jpg', 2), ('/home/nano/Desktop/images/12122025/08/55/image_12122025_08_56_04_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/08/55/image_12122025_08_55_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:57:32.224445 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/57/image_12122025_08_57_45_10625.jpg', 2), ('/home/nano/Desktop/images/12122025/08/57/image_12122025_08_57_25_9614.jpg', 2), ('/home/nano/Desktop/images/12122025/08/57/image_12122025_08_57_15_10639.jpg', 2), ('/home/nano/Desktop/images/12122025/08/56/image_12122025_08_57_04_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/08/56/image_12122025_08_56_55_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/08/56/image_12122025_08_56_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:58:02.706457 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/57/image_12122025_08_57_45_10625.jpg', 2), ('/home/nano/Desktop/images/12122025/08/57/image_12122025_08_57_25_9614.jpg', 2), ('/home/nano/Desktop/images/12122025/08/57/image_12122025_08_57_15_10639.jpg', 2), ('/home/nano/Desktop/images/12122025/08/56/image_12122025_08_57_04_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/08/56/image_12122025_08_56_55_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/08/56/image_12122025_08_56_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:58:47.339131 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/57/image_12122025_08_57_45_10625.jpg', 2), ('/home/nano/Desktop/images/12122025/08/57/image_12122025_08_57_25_9614.jpg', 2), ('/home/nano/Desktop/images/12122025/08/57/image_12122025_08_57_15_10639.jpg', 2), ('/home/nano/Desktop/images/12122025/08/56/image_12122025_08_57_04_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/08/56/image_12122025_08_56_55_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/08/56/image_12122025_08_56_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:59:17.436723 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/59/image_12122025_08_59_44_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/08/59/image_12122025_08_59_35_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/08/59/image_12122025_08_59_25_10619.jpg', 2), ('/home/nano/Desktop/images/12122025/08/59/image_12122025_08_59_14_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/08/58/image_12122025_08_59_05_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/08/58/image_12122025_08_58_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 08:59:47.445835 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/08/59/image_12122025_08_59_44_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/08/59/image_12122025_08_59_35_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/08/59/image_12122025_08_59_25_10619.jpg', 2), ('/home/nano/Desktop/images/12122025/08/59/image_12122025_08_59_14_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/08/58/image_12122025_08_59_05_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/08/58/image_12122025_08_58_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:00:17.550332 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/00/image_12122025_09_00_45_10619.jpg', 2), ('/home/nano/Desktop/images/12122025/09/00/image_12122025_09_00_34_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/09/00/image_12122025_09_00_25_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/09/00/image_12122025_09_00_15_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/08/59/image_12122025_09_00_04_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/08/59/image_12122025_08_59_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:00:47.532418 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/00/image_12122025_09_00_45_10619.jpg', 2), ('/home/nano/Desktop/images/12122025/09/00/image_12122025_09_00_34_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/09/00/image_12122025_09_00_25_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/09/00/image_12122025_09_00_15_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/08/59/image_12122025_09_00_04_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/08/59/image_12122025_08_59_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:01:17.639323 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/01/image_12122025_09_01_45_9734.jpg', 2), ('/home/nano/Desktop/images/12122025/09/01/image_12122025_09_01_35_10623.jpg', 2), ('/home/nano/Desktop/images/12122025/09/01/image_12122025_09_01_24_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/09/01/image_12122025_09_01_15_10624.jpg', 2), ('/home/nano/Desktop/images/12122025/09/00/image_12122025_09_01_04_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/09/00/image_12122025_09_00_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:01:47.643268 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/01/image_12122025_09_01_45_9734.jpg', 2), ('/home/nano/Desktop/images/12122025/09/01/image_12122025_09_01_35_10623.jpg', 2), ('/home/nano/Desktop/images/12122025/09/01/image_12122025_09_01_24_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/09/01/image_12122025_09_01_15_10624.jpg', 2), ('/home/nano/Desktop/images/12122025/09/00/image_12122025_09_01_04_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/09/00/image_12122025_09_00_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:02:17.761206 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/02/image_12122025_09_02_45_10706.jpg', 2), ('/home/nano/Desktop/images/12122025/09/02/image_12122025_09_02_34_9721.jpg', 2), ('/home/nano/Desktop/images/12122025/09/02/image_12122025_09_02_25_9716.jpg', 2), ('/home/nano/Desktop/images/12122025/09/02/image_12122025_09_02_15_9743.jpg', 2), ('/home/nano/Desktop/images/12122025/09/01/image_12122025_09_02_05_10687.jpg', 2), ('/home/nano/Desktop/images/12122025/09/01/image_12122025_09_01_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:02:47.796966 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/02/image_12122025_09_02_45_10706.jpg', 2), ('/home/nano/Desktop/images/12122025/09/02/image_12122025_09_02_34_9721.jpg', 2), ('/home/nano/Desktop/images/12122025/09/02/image_12122025_09_02_25_9716.jpg', 2), ('/home/nano/Desktop/images/12122025/09/02/image_12122025_09_02_15_9743.jpg', 2), ('/home/nano/Desktop/images/12122025/09/01/image_12122025_09_02_05_10687.jpg', 2), ('/home/nano/Desktop/images/12122025/09/01/image_12122025_09_01_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:03:16.888474 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/03/image_12122025_09_03_44_9699.jpg', 2), ('/home/nano/Desktop/images/12122025/09/03/image_12122025_09_03_35_9694.jpg', 2), ('/home/nano/Desktop/images/12122025/09/03/image_12122025_09_03_25_10691.jpg', 2), ('/home/nano/Desktop/images/12122025/09/03/image_12122025_09_03_14_9726.jpg', 2), ('/home/nano/Desktop/images/12122025/09/02/image_12122025_09_03_04_9764.jpg', 2), ('/home/nano/Desktop/images/12122025/09/02/image_12122025_09_02_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:03:46.932132 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/03/image_12122025_09_03_44_9699.jpg', 2), ('/home/nano/Desktop/images/12122025/09/03/image_12122025_09_03_35_9694.jpg', 2), ('/home/nano/Desktop/images/12122025/09/03/image_12122025_09_03_25_10691.jpg', 2), ('/home/nano/Desktop/images/12122025/09/03/image_12122025_09_03_14_9726.jpg', 2), ('/home/nano/Desktop/images/12122025/09/02/image_12122025_09_03_04_9764.jpg', 2), ('/home/nano/Desktop/images/12122025/09/02/image_12122025_09_02_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:04:17.080443 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/04/image_12122025_09_04_44_9661.jpg', 2), ('/home/nano/Desktop/images/12122025/09/04/image_12122025_09_04_35_9702.jpg', 2), ('/home/nano/Desktop/images/12122025/09/04/image_12122025_09_04_25_10686.jpg', 2), ('/home/nano/Desktop/images/12122025/09/04/image_12122025_09_04_14_9692.jpg', 2), ('/home/nano/Desktop/images/12122025/09/03/image_12122025_09_04_05_9701.jpg', 2), ('/home/nano/Desktop/images/12122025/09/03/image_12122025_09_03_55_10696.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:04:46.992753 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/04/image_12122025_09_04_44_9661.jpg', 2), ('/home/nano/Desktop/images/12122025/09/04/image_12122025_09_04_35_9702.jpg', 2), ('/home/nano/Desktop/images/12122025/09/04/image_12122025_09_04_25_10686.jpg', 2), ('/home/nano/Desktop/images/12122025/09/04/image_12122025_09_04_14_9692.jpg', 2), ('/home/nano/Desktop/images/12122025/09/03/image_12122025_09_04_05_9701.jpg', 2), ('/home/nano/Desktop/images/12122025/09/03/image_12122025_09_03_55_10696.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:05:17.130677 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/05/image_12122025_09_05_45_9688.jpg', 2), ('/home/nano/Desktop/images/12122025/09/05/image_12122025_09_05_35_10685.jpg', 2), ('/home/nano/Desktop/images/12122025/09/05/image_12122025_09_05_24_9693.jpg', 2), ('/home/nano/Desktop/images/12122025/09/05/image_12122025_09_05_15_9706.jpg', 2), ('/home/nano/Desktop/images/12122025/09/04/image_12122025_09_05_05_10712.jpg', 2), ('/home/nano/Desktop/images/12122025/09/04/image_12122025_09_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:05:47.105314 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/05/image_12122025_09_05_45_9688.jpg', 2), ('/home/nano/Desktop/images/12122025/09/05/image_12122025_09_05_35_10685.jpg', 2), ('/home/nano/Desktop/images/12122025/09/05/image_12122025_09_05_24_9693.jpg', 2), ('/home/nano/Desktop/images/12122025/09/05/image_12122025_09_05_15_9706.jpg', 2), ('/home/nano/Desktop/images/12122025/09/04/image_12122025_09_05_05_10712.jpg', 2), ('/home/nano/Desktop/images/12122025/09/04/image_12122025_09_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:06:17.208293 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/06/image_12122025_09_06_45_10739.jpg', 2), ('/home/nano/Desktop/images/12122025/09/06/image_12122025_09_06_34_9738.jpg', 2), ('/home/nano/Desktop/images/12122025/09/06/image_12122025_09_06_24_9692.jpg', 2), ('/home/nano/Desktop/images/12122025/09/06/image_12122025_09_06_15_9717.jpg', 2), ('/home/nano/Desktop/images/12122025/09/05/image_12122025_09_06_05_10715.jpg', 2), ('/home/nano/Desktop/images/12122025/09/05/image_12122025_09_05_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:06:47.209728 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/06/image_12122025_09_06_45_10739.jpg', 2), ('/home/nano/Desktop/images/12122025/09/06/image_12122025_09_06_34_9738.jpg', 2), ('/home/nano/Desktop/images/12122025/09/06/image_12122025_09_06_24_9692.jpg', 2), ('/home/nano/Desktop/images/12122025/09/06/image_12122025_09_06_15_9717.jpg', 2), ('/home/nano/Desktop/images/12122025/09/05/image_12122025_09_06_05_10715.jpg', 2), ('/home/nano/Desktop/images/12122025/09/05/image_12122025_09_05_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:07:17.312212 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/07/image_12122025_09_07_44_9672.jpg', 2), ('/home/nano/Desktop/images/12122025/09/07/image_12122025_09_07_34_9707.jpg', 2), ('/home/nano/Desktop/images/12122025/09/07/image_12122025_09_07_25_9685.jpg', 2), ('/home/nano/Desktop/images/12122025/09/07/image_12122025_09_07_15_10747.jpg', 2), ('/home/nano/Desktop/images/12122025/09/06/image_12122025_09_07_04_9714.jpg', 2), ('/home/nano/Desktop/images/12122025/09/06/image_12122025_09_06_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:07:47.379211 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/07/image_12122025_09_07_44_9672.jpg', 2), ('/home/nano/Desktop/images/12122025/09/07/image_12122025_09_07_34_9707.jpg', 2), ('/home/nano/Desktop/images/12122025/09/07/image_12122025_09_07_25_9685.jpg', 2), ('/home/nano/Desktop/images/12122025/09/07/image_12122025_09_07_15_10747.jpg', 2), ('/home/nano/Desktop/images/12122025/09/06/image_12122025_09_07_04_9714.jpg', 2), ('/home/nano/Desktop/images/12122025/09/06/image_12122025_09_06_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:08:17.489882 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/08/image_12122025_09_08_44_9721.jpg', 2), ('/home/nano/Desktop/images/12122025/09/08/image_12122025_09_08_35_9702.jpg', 2), ('/home/nano/Desktop/images/12122025/09/08/image_12122025_09_08_25_10710.jpg', 2), ('/home/nano/Desktop/images/12122025/09/08/image_12122025_09_08_14_9715.jpg', 2), ('/home/nano/Desktop/images/12122025/09/07/image_12122025_09_08_05_9662.jpg', 2), ('/home/nano/Desktop/images/12122025/09/07/image_12122025_09_07_55_10784.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:08:47.469656 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/08/image_12122025_09_08_44_9721.jpg', 2), ('/home/nano/Desktop/images/12122025/09/08/image_12122025_09_08_35_9702.jpg', 2), ('/home/nano/Desktop/images/12122025/09/08/image_12122025_09_08_25_10710.jpg', 2), ('/home/nano/Desktop/images/12122025/09/08/image_12122025_09_08_14_9715.jpg', 2), ('/home/nano/Desktop/images/12122025/09/07/image_12122025_09_08_05_9662.jpg', 2), ('/home/nano/Desktop/images/12122025/09/07/image_12122025_09_07_55_10784.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:09:17.601338 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/09/image_12122025_09_09_45_9676.jpg', 2), ('/home/nano/Desktop/images/12122025/09/09/image_12122025_09_09_35_10706.jpg', 2), ('/home/nano/Desktop/images/12122025/09/09/image_12122025_09_09_24_9694.jpg', 2), ('/home/nano/Desktop/images/12122025/09/09/image_12122025_09_09_15_9718.jpg', 2), ('/home/nano/Desktop/images/12122025/09/08/image_12122025_09_09_05_9706.jpg', 2), ('/home/nano/Desktop/images/12122025/09/08/image_12122025_09_08_55_10702.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:09:47.632092 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/09/image_12122025_09_09_45_9676.jpg', 2), ('/home/nano/Desktop/images/12122025/09/09/image_12122025_09_09_35_10706.jpg', 2), ('/home/nano/Desktop/images/12122025/09/09/image_12122025_09_09_24_9694.jpg', 2), ('/home/nano/Desktop/images/12122025/09/09/image_12122025_09_09_15_9718.jpg', 2), ('/home/nano/Desktop/images/12122025/09/08/image_12122025_09_09_05_9706.jpg', 2), ('/home/nano/Desktop/images/12122025/09/08/image_12122025_09_08_55_10702.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:10:17.714980 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/10/image_12122025_09_10_45_9687.jpg', 2), ('/home/nano/Desktop/images/12122025/09/10/image_12122025_09_10_35_10624.jpg', 2), ('/home/nano/Desktop/images/12122025/09/10/image_12122025_09_10_24_9687.jpg', 2), ('/home/nano/Desktop/images/12122025/09/10/image_12122025_09_10_15_9722.jpg', 2), ('/home/nano/Desktop/images/12122025/09/09/image_12122025_09_10_05_10736.jpg', 2), ('/home/nano/Desktop/images/12122025/09/09/image_12122025_09_09_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:10:47.722637 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/10/image_12122025_09_10_45_9687.jpg', 2), ('/home/nano/Desktop/images/12122025/09/10/image_12122025_09_10_35_10624.jpg', 2), ('/home/nano/Desktop/images/12122025/09/10/image_12122025_09_10_24_9687.jpg', 2), ('/home/nano/Desktop/images/12122025/09/10/image_12122025_09_10_15_9722.jpg', 2), ('/home/nano/Desktop/images/12122025/09/09/image_12122025_09_10_05_10736.jpg', 2), ('/home/nano/Desktop/images/12122025/09/09/image_12122025_09_09_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:11:16.838569 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/11/image_12122025_09_11_45_10616.jpg', 2), ('/home/nano/Desktop/images/12122025/09/11/image_12122025_09_11_34_9652.jpg', 2), ('/home/nano/Desktop/images/12122025/09/11/image_12122025_09_11_25_9700.jpg', 2), ('/home/nano/Desktop/images/12122025/09/11/image_12122025_09_11_15_10706.jpg', 2), ('/home/nano/Desktop/images/12122025/09/10/image_12122025_09_11_04_9667.jpg', 2), ('/home/nano/Desktop/images/12122025/09/10/image_12122025_09_10_55_9786.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:11:46.816175 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/11/image_12122025_09_11_45_10616.jpg', 2), ('/home/nano/Desktop/images/12122025/09/11/image_12122025_09_11_34_9652.jpg', 2), ('/home/nano/Desktop/images/12122025/09/11/image_12122025_09_11_25_9700.jpg', 2), ('/home/nano/Desktop/images/12122025/09/11/image_12122025_09_11_15_10706.jpg', 2), ('/home/nano/Desktop/images/12122025/09/10/image_12122025_09_11_04_9667.jpg', 2), ('/home/nano/Desktop/images/12122025/09/10/image_12122025_09_10_55_9786.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:12:16.936764 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/12/image_12122025_09_12_45_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/09/12/image_12122025_09_12_35_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/09/12/image_12122025_09_12_24_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/09/12/image_12122025_09_12_15_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/09/11/image_12122025_09_12_05_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/09/11/image_12122025_09_11_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:12:46.924426 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/12/image_12122025_09_12_45_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/09/12/image_12122025_09_12_35_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/09/12/image_12122025_09_12_24_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/09/12/image_12122025_09_12_15_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/09/11/image_12122025_09_12_05_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/09/11/image_12122025_09_11_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:13:17.031591 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/13/image_12122025_09_13_44_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/09/13/image_12122025_09_13_35_9593.jpg', 2), ('/home/nano/Desktop/images/12122025/09/13/image_12122025_09_13_25_10616.jpg', 2), ('/home/nano/Desktop/images/12122025/09/13/image_12122025_09_13_14_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/09/12/image_12122025_09_13_05_10622.jpg', 2), ('/home/nano/Desktop/images/12122025/09/12/image_12122025_09_12_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:13:47.131182 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/13/image_12122025_09_13_44_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/09/13/image_12122025_09_13_35_9593.jpg', 2), ('/home/nano/Desktop/images/12122025/09/13/image_12122025_09_13_25_10616.jpg', 2), ('/home/nano/Desktop/images/12122025/09/13/image_12122025_09_13_14_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/09/12/image_12122025_09_13_05_10622.jpg', 2), ('/home/nano/Desktop/images/12122025/09/12/image_12122025_09_12_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:14:17.299468 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/14/image_12122025_09_14_45_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/09/14/image_12122025_09_14_34_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/09/14/image_12122025_09_14_25_9593.jpg', 2), ('/home/nano/Desktop/images/12122025/09/14/image_12122025_09_14_15_10624.jpg', 2), ('/home/nano/Desktop/images/12122025/09/13/image_12122025_09_14_04_9614.jpg', 2), ('/home/nano/Desktop/images/12122025/09/13/image_12122025_09_13_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:14:47.236360 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/14/image_12122025_09_14_45_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/09/14/image_12122025_09_14_34_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/09/14/image_12122025_09_14_25_9593.jpg', 2), ('/home/nano/Desktop/images/12122025/09/14/image_12122025_09_14_15_10624.jpg', 2), ('/home/nano/Desktop/images/12122025/09/13/image_12122025_09_14_04_9614.jpg', 2), ('/home/nano/Desktop/images/12122025/09/13/image_12122025_09_13_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:15:17.345297 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/15/image_12122025_09_15_45_9634.jpg', 2), ('/home/nano/Desktop/images/12122025/09/15/image_12122025_09_15_35_10653.jpg', 2), ('/home/nano/Desktop/images/12122025/09/15/image_12122025_09_15_24_9645.jpg', 2), ('/home/nano/Desktop/images/12122025/09/15/image_12122025_09_15_15_10644.jpg', 2), ('/home/nano/Desktop/images/12122025/09/14/image_12122025_09_15_04_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/09/14/image_12122025_09_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:15:47.344106 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/15/image_12122025_09_15_45_9634.jpg', 2), ('/home/nano/Desktop/images/12122025/09/15/image_12122025_09_15_35_10653.jpg', 2), ('/home/nano/Desktop/images/12122025/09/15/image_12122025_09_15_24_9645.jpg', 2), ('/home/nano/Desktop/images/12122025/09/15/image_12122025_09_15_15_10644.jpg', 2), ('/home/nano/Desktop/images/12122025/09/14/image_12122025_09_15_04_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/09/14/image_12122025_09_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:16:17.472851 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/16/image_12122025_09_16_45_9653.jpg', 2), ('/home/nano/Desktop/images/12122025/09/16/image_12122025_09_16_35_10654.jpg', 2), ('/home/nano/Desktop/images/12122025/09/16/image_12122025_09_16_24_9647.jpg', 2), ('/home/nano/Desktop/images/12122025/09/16/image_12122025_09_16_15_9643.jpg', 2), ('/home/nano/Desktop/images/12122025/09/15/image_12122025_09_16_05_10647.jpg', 2), ('/home/nano/Desktop/images/12122025/09/15/image_12122025_09_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:16:47.457716 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/16/image_12122025_09_16_45_9653.jpg', 2), ('/home/nano/Desktop/images/12122025/09/16/image_12122025_09_16_35_10654.jpg', 2), ('/home/nano/Desktop/images/12122025/09/16/image_12122025_09_16_24_9647.jpg', 2), ('/home/nano/Desktop/images/12122025/09/16/image_12122025_09_16_15_9643.jpg', 2), ('/home/nano/Desktop/images/12122025/09/15/image_12122025_09_16_05_10647.jpg', 2), ('/home/nano/Desktop/images/12122025/09/15/image_12122025_09_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:17:17.592707 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/17/image_12122025_09_17_44_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/09/17/image_12122025_09_17_35_10640.jpg', 2), ('/home/nano/Desktop/images/12122025/09/17/image_12122025_09_17_24_9616.jpg', 2), ('/home/nano/Desktop/images/12122025/09/17/image_12122025_09_17_14_9644.jpg', 2), ('/home/nano/Desktop/images/12122025/09/16/image_12122025_09_17_05_10656.jpg', 2), ('/home/nano/Desktop/images/12122025/09/16/image_12122025_09_16_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:17:47.554986 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/17/image_12122025_09_17_44_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/09/17/image_12122025_09_17_35_10640.jpg', 2), ('/home/nano/Desktop/images/12122025/09/17/image_12122025_09_17_24_9616.jpg', 2), ('/home/nano/Desktop/images/12122025/09/17/image_12122025_09_17_14_9644.jpg', 2), ('/home/nano/Desktop/images/12122025/09/16/image_12122025_09_17_05_10656.jpg', 2), ('/home/nano/Desktop/images/12122025/09/16/image_12122025_09_16_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:18:17.677138 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/18/image_12122025_09_18_44_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/09/18/image_12122025_09_18_35_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/09/18/image_12122025_09_18_25_10653.jpg', 2), ('/home/nano/Desktop/images/12122025/09/18/image_12122025_09_18_14_9634.jpg', 2), ('/home/nano/Desktop/images/12122025/09/17/image_12122025_09_18_05_9650.jpg', 2), ('/home/nano/Desktop/images/12122025/09/17/image_12122025_09_17_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:18:47.690761 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/18/image_12122025_09_18_44_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/09/18/image_12122025_09_18_35_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/09/18/image_12122025_09_18_25_10653.jpg', 2), ('/home/nano/Desktop/images/12122025/09/18/image_12122025_09_18_14_9634.jpg', 2), ('/home/nano/Desktop/images/12122025/09/17/image_12122025_09_18_05_9650.jpg', 2), ('/home/nano/Desktop/images/12122025/09/17/image_12122025_09_17_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:19:16.784277 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/19/image_12122025_09_19_45_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/09/19/image_12122025_09_19_34_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/09/19/image_12122025_09_19_25_10646.jpg', 2), ('/home/nano/Desktop/images/12122025/09/19/image_12122025_09_19_14_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/09/18/image_12122025_09_19_05_9669.jpg', 2), ('/home/nano/Desktop/images/12122025/09/18/image_12122025_09_18_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:19:46.869003 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/19/image_12122025_09_19_45_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/09/19/image_12122025_09_19_34_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/09/19/image_12122025_09_19_25_10646.jpg', 2), ('/home/nano/Desktop/images/12122025/09/19/image_12122025_09_19_14_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/09/18/image_12122025_09_19_05_9669.jpg', 2), ('/home/nano/Desktop/images/12122025/09/18/image_12122025_09_18_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:20:16.964714 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/20/image_12122025_09_20_45_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/09/20/image_12122025_09_20_34_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/09/20/image_12122025_09_20_25_9611.jpg', 2), ('/home/nano/Desktop/images/12122025/09/20/image_12122025_09_20_15_10646.jpg', 2), ('/home/nano/Desktop/images/12122025/09/19/image_12122025_09_20_04_9647.jpg', 2), ('/home/nano/Desktop/images/12122025/09/19/image_12122025_09_19_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:20:46.973845 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/20/image_12122025_09_20_45_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/09/20/image_12122025_09_20_34_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/09/20/image_12122025_09_20_25_9611.jpg', 2), ('/home/nano/Desktop/images/12122025/09/20/image_12122025_09_20_15_10646.jpg', 2), ('/home/nano/Desktop/images/12122025/09/19/image_12122025_09_20_04_9647.jpg', 2), ('/home/nano/Desktop/images/12122025/09/19/image_12122025_09_19_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:21:17.166372 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/21/image_12122025_09_21_45_9636.jpg', 2), ('/home/nano/Desktop/images/12122025/09/21/image_12122025_09_21_35_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/09/21/image_12122025_09_21_24_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/09/21/image_12122025_09_21_15_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/09/20/image_12122025_09_21_05_10616.jpg', 2), ('/home/nano/Desktop/images/12122025/09/20/image_12122025_09_20_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:21:47.083726 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/21/image_12122025_09_21_45_9636.jpg', 2), ('/home/nano/Desktop/images/12122025/09/21/image_12122025_09_21_35_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/09/21/image_12122025_09_21_24_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/09/21/image_12122025_09_21_15_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/09/20/image_12122025_09_21_05_10616.jpg', 2), ('/home/nano/Desktop/images/12122025/09/20/image_12122025_09_20_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:22:17.158884 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/22/image_12122025_09_22_44_9644.jpg', 2), ('/home/nano/Desktop/images/12122025/09/22/image_12122025_09_22_35_10655.jpg', 2), ('/home/nano/Desktop/images/12122025/09/22/image_12122025_09_22_24_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/09/22/image_12122025_09_22_15_9648.jpg', 2), ('/home/nano/Desktop/images/12122025/09/21/image_12122025_09_22_05_10642.jpg', 2), ('/home/nano/Desktop/images/12122025/09/21/image_12122025_09_21_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:22:47.168101 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/22/image_12122025_09_22_44_9644.jpg', 2), ('/home/nano/Desktop/images/12122025/09/22/image_12122025_09_22_35_10655.jpg', 2), ('/home/nano/Desktop/images/12122025/09/22/image_12122025_09_22_24_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/09/22/image_12122025_09_22_15_9648.jpg', 2), ('/home/nano/Desktop/images/12122025/09/21/image_12122025_09_22_05_10642.jpg', 2), ('/home/nano/Desktop/images/12122025/09/21/image_12122025_09_21_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:23:17.291219 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/23/image_12122025_09_23_45_9692.jpg', 2), ('/home/nano/Desktop/images/12122025/09/23/image_12122025_09_23_35_10699.jpg', 2), ('/home/nano/Desktop/images/12122025/09/23/image_12122025_09_23_24_9690.jpg', 2), ('/home/nano/Desktop/images/12122025/09/23/image_12122025_09_23_14_9687.jpg', 2), ('/home/nano/Desktop/images/12122025/09/22/image_12122025_09_23_05_10619.jpg', 2), ('/home/nano/Desktop/images/12122025/09/22/image_12122025_09_22_54_9678.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:23:47.284404 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/23/image_12122025_09_23_45_9692.jpg', 2), ('/home/nano/Desktop/images/12122025/09/23/image_12122025_09_23_35_10699.jpg', 2), ('/home/nano/Desktop/images/12122025/09/23/image_12122025_09_23_24_9690.jpg', 2), ('/home/nano/Desktop/images/12122025/09/23/image_12122025_09_23_14_9687.jpg', 2), ('/home/nano/Desktop/images/12122025/09/22/image_12122025_09_23_05_10619.jpg', 2), ('/home/nano/Desktop/images/12122025/09/22/image_12122025_09_22_54_9678.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:24:17.386275 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/24/image_12122025_09_24_45_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/09/24/image_12122025_09_24_35_10626.jpg', 2), ('/home/nano/Desktop/images/12122025/09/24/image_12122025_09_24_24_9690.jpg', 2), ('/home/nano/Desktop/images/12122025/09/24/image_12122025_09_24_15_9645.jpg', 2), ('/home/nano/Desktop/images/12122025/09/23/image_12122025_09_24_05_10711.jpg', 2), ('/home/nano/Desktop/images/12122025/09/23/image_12122025_09_23_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:24:47.387309 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/24/image_12122025_09_24_45_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/09/24/image_12122025_09_24_35_10626.jpg', 2), ('/home/nano/Desktop/images/12122025/09/24/image_12122025_09_24_24_9690.jpg', 2), ('/home/nano/Desktop/images/12122025/09/24/image_12122025_09_24_15_9645.jpg', 2), ('/home/nano/Desktop/images/12122025/09/23/image_12122025_09_24_05_10711.jpg', 2), ('/home/nano/Desktop/images/12122025/09/23/image_12122025_09_23_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:25:17.488239 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/25/image_12122025_09_25_44_9665.jpg', 2), ('/home/nano/Desktop/images/12122025/09/25/image_12122025_09_25_35_9668.jpg', 2), ('/home/nano/Desktop/images/12122025/09/25/image_12122025_09_25_25_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/09/25/image_12122025_09_25_14_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/09/24/image_12122025_09_25_05_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/09/24/image_12122025_09_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:25:47.484921 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/25/image_12122025_09_25_44_9665.jpg', 2), ('/home/nano/Desktop/images/12122025/09/25/image_12122025_09_25_35_9668.jpg', 2), ('/home/nano/Desktop/images/12122025/09/25/image_12122025_09_25_25_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/09/25/image_12122025_09_25_14_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/09/24/image_12122025_09_25_05_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/09/24/image_12122025_09_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:26:17.605639 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/26/image_12122025_09_26_55_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/09/26/image_12122025_09_26_35_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/09/26/image_12122025_09_26_25_10706.jpg', 2), ('/home/nano/Desktop/images/12122025/09/26/image_12122025_09_26_14_9721.jpg', 2), ('/home/nano/Desktop/images/12122025/09/25/image_12122025_09_26_05_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/09/25/image_12122025_09_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:26:47.608651 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/26/image_12122025_09_26_55_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/09/26/image_12122025_09_26_35_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/09/26/image_12122025_09_26_25_10706.jpg', 2), ('/home/nano/Desktop/images/12122025/09/26/image_12122025_09_26_14_9721.jpg', 2), ('/home/nano/Desktop/images/12122025/09/25/image_12122025_09_26_05_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/09/25/image_12122025_09_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:27:17.717873 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/27/image_12122025_09_27_44_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/09/27/image_12122025_09_27_35_9632.jpg', 2), ('/home/nano/Desktop/images/12122025/09/27/image_12122025_09_27_25_10626.jpg', 2), ('/home/nano/Desktop/images/12122025/09/27/image_12122025_09_27_14_9643.jpg', 2), ('/home/nano/Desktop/images/12122025/09/26/image_12122025_09_27_05_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/09/26/image_12122025_09_26_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:27:47.716146 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/27/image_12122025_09_27_44_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/09/27/image_12122025_09_27_35_9632.jpg', 2), ('/home/nano/Desktop/images/12122025/09/27/image_12122025_09_27_25_10626.jpg', 2), ('/home/nano/Desktop/images/12122025/09/27/image_12122025_09_27_14_9643.jpg', 2), ('/home/nano/Desktop/images/12122025/09/26/image_12122025_09_27_05_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/09/26/image_12122025_09_26_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:28:16.882504 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/28/image_12122025_09_28_45_10603.jpg', 2), ('/home/nano/Desktop/images/12122025/09/28/image_12122025_09_28_34_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/09/28/image_12122025_09_28_25_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/09/28/image_12122025_09_28_15_10661.jpg', 2), ('/home/nano/Desktop/images/12122025/09/27/image_12122025_09_28_04_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/09/27/image_12122025_09_27_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:28:46.807156 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/28/image_12122025_09_28_45_10603.jpg', 2), ('/home/nano/Desktop/images/12122025/09/28/image_12122025_09_28_34_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/09/28/image_12122025_09_28_25_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/09/28/image_12122025_09_28_15_10661.jpg', 2), ('/home/nano/Desktop/images/12122025/09/27/image_12122025_09_28_04_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/09/27/image_12122025_09_27_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:29:16.927542 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/29/image_12122025_09_29_35_10604.jpg', 2), ('/home/nano/Desktop/images/12122025/09/29/image_12122025_09_29_24_9577.jpg', 2), ('/home/nano/Desktop/images/12122025/09/29/image_12122025_09_29_15_9578.jpg', 2), ('/home/nano/Desktop/images/12122025/09/28/image_12122025_09_29_05_10605.jpg', 2), ('/home/nano/Desktop/images/12122025/09/28/image_12122025_09_28_54_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/09/28/image_12122025_09_28_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:29:46.918013 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/29/image_12122025_09_29_35_10604.jpg', 2), ('/home/nano/Desktop/images/12122025/09/29/image_12122025_09_29_24_9577.jpg', 2), ('/home/nano/Desktop/images/12122025/09/29/image_12122025_09_29_15_9578.jpg', 2), ('/home/nano/Desktop/images/12122025/09/28/image_12122025_09_29_05_10605.jpg', 2), ('/home/nano/Desktop/images/12122025/09/28/image_12122025_09_28_54_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/09/28/image_12122025_09_28_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:30:17.015877 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/30/image_12122025_09_30_34_9581.jpg', 2), ('/home/nano/Desktop/images/12122025/09/30/image_12122025_09_30_25_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/09/30/image_12122025_09_30_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/09/29/image_12122025_09_30_05_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/09/29/image_12122025_09_29_55_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/09/29/image_12122025_09_29_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:30:47.051966 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/30/image_12122025_09_30_34_9581.jpg', 2), ('/home/nano/Desktop/images/12122025/09/30/image_12122025_09_30_25_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/09/30/image_12122025_09_30_14_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/09/29/image_12122025_09_30_05_9586.jpg', 2), ('/home/nano/Desktop/images/12122025/09/29/image_12122025_09_29_55_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/09/29/image_12122025_09_29_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:31:17.179365 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/31/image_12122025_09_31_15_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/09/30/image_12122025_09_31_04_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/09/30/image_12122025_09_30_45_10591.jpg', 2), ('/home/nano/Desktop/images/12122025/09/30/image_12122025_09_30_34_9581.jpg', 2), ('/home/nano/Desktop/images/12122025/09/30/image_12122025_09_30_25_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/09/30/image_12122025_09_30_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:31:47.150279 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/31/image_12122025_09_31_15_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/09/30/image_12122025_09_31_04_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/09/30/image_12122025_09_30_45_10591.jpg', 2), ('/home/nano/Desktop/images/12122025/09/30/image_12122025_09_30_34_9581.jpg', 2), ('/home/nano/Desktop/images/12122025/09/30/image_12122025_09_30_25_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/09/30/image_12122025_09_30_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:32:17.248025 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/32/image_12122025_09_32_34_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/09/32/image_12122025_09_32_25_10590.jpg', 2), ('/home/nano/Desktop/images/12122025/09/31/image_12122025_09_32_05_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/09/31/image_12122025_09_31_54_9582.jpg', 2), ('/home/nano/Desktop/images/12122025/09/31/image_12122025_09_31_15_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/09/30/image_12122025_09_31_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:32:47.272554 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/32/image_12122025_09_32_34_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/09/32/image_12122025_09_32_25_10590.jpg', 2), ('/home/nano/Desktop/images/12122025/09/31/image_12122025_09_32_05_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/09/31/image_12122025_09_31_54_9582.jpg', 2), ('/home/nano/Desktop/images/12122025/09/31/image_12122025_09_31_15_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/09/30/image_12122025_09_31_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:33:17.395253 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/33/image_12122025_09_33_24_9581.jpg', 2), ('/home/nano/Desktop/images/12122025/09/33/image_12122025_09_33_15_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/09/32/image_12122025_09_33_04_9591.jpg', 2), ('/home/nano/Desktop/images/12122025/09/32/image_12122025_09_32_55_9580.jpg', 2), ('/home/nano/Desktop/images/12122025/09/32/image_12122025_09_32_34_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/09/32/image_12122025_09_32_25_10590.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:33:47.424250 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/33/image_12122025_09_33_24_9581.jpg', 2), ('/home/nano/Desktop/images/12122025/09/33/image_12122025_09_33_15_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/09/32/image_12122025_09_33_04_9591.jpg', 2), ('/home/nano/Desktop/images/12122025/09/32/image_12122025_09_32_55_9580.jpg', 2), ('/home/nano/Desktop/images/12122025/09/32/image_12122025_09_32_34_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/09/32/image_12122025_09_32_25_10590.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:34:17.535900 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/34/image_12122025_09_34_35_9582.jpg', 2), ('/home/nano/Desktop/images/12122025/09/33/image_12122025_09_34_05_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/09/33/image_12122025_09_33_54_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/09/33/image_12122025_09_33_24_9581.jpg', 2), ('/home/nano/Desktop/images/12122025/09/33/image_12122025_09_33_15_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/09/32/image_12122025_09_33_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:34:47.530588 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/34/image_12122025_09_34_35_9582.jpg', 2), ('/home/nano/Desktop/images/12122025/09/33/image_12122025_09_34_05_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/09/33/image_12122025_09_33_54_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/09/33/image_12122025_09_33_24_9581.jpg', 2), ('/home/nano/Desktop/images/12122025/09/33/image_12122025_09_33_15_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/09/32/image_12122025_09_33_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:35:17.732128 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/35/image_12122025_09_35_34_9579.jpg', 2), ('/home/nano/Desktop/images/12122025/09/34/image_12122025_09_34_44_9578.jpg', 2), ('/home/nano/Desktop/images/12122025/09/34/image_12122025_09_34_35_9582.jpg', 2), ('/home/nano/Desktop/images/12122025/09/33/image_12122025_09_34_05_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/09/33/image_12122025_09_33_54_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/09/33/image_12122025_09_33_24_9581.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:35:47.638837 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/35/image_12122025_09_35_34_9579.jpg', 2), ('/home/nano/Desktop/images/12122025/09/34/image_12122025_09_34_44_9578.jpg', 2), ('/home/nano/Desktop/images/12122025/09/34/image_12122025_09_34_35_9582.jpg', 2), ('/home/nano/Desktop/images/12122025/09/33/image_12122025_09_34_05_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/09/33/image_12122025_09_33_54_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/09/33/image_12122025_09_33_24_9581.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:36:17.721722 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/36/image_12122025_09_36_44_9582.jpg', 2), ('/home/nano/Desktop/images/12122025/09/36/image_12122025_09_36_35_10606.jpg', 2), ('/home/nano/Desktop/images/12122025/09/36/image_12122025_09_36_24_9595.jpg', 2), ('/home/nano/Desktop/images/12122025/09/35/image_12122025_09_35_45_10590.jpg', 2), ('/home/nano/Desktop/images/12122025/09/35/image_12122025_09_35_34_9579.jpg', 2), ('/home/nano/Desktop/images/12122025/09/34/image_12122025_09_34_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:36:47.722500 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/36/image_12122025_09_36_44_9582.jpg', 2), ('/home/nano/Desktop/images/12122025/09/36/image_12122025_09_36_35_10606.jpg', 2), ('/home/nano/Desktop/images/12122025/09/36/image_12122025_09_36_24_9595.jpg', 2), ('/home/nano/Desktop/images/12122025/09/35/image_12122025_09_35_45_10590.jpg', 2), ('/home/nano/Desktop/images/12122025/09/35/image_12122025_09_35_34_9579.jpg', 2), ('/home/nano/Desktop/images/12122025/09/34/image_12122025_09_34_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:37:16.835401 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/37/image_12122025_09_37_45_10590.jpg', 2), ('/home/nano/Desktop/images/12122025/09/37/image_12122025_09_37_34_9574.jpg', 2), ('/home/nano/Desktop/images/12122025/09/37/image_12122025_09_37_25_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/09/37/image_12122025_09_37_14_9631.jpg', 2), ('/home/nano/Desktop/images/12122025/09/36/image_12122025_09_37_05_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/09/36/image_12122025_09_36_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:37:46.906593 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/37/image_12122025_09_37_45_10590.jpg', 2), ('/home/nano/Desktop/images/12122025/09/37/image_12122025_09_37_34_9574.jpg', 2), ('/home/nano/Desktop/images/12122025/09/37/image_12122025_09_37_25_10593.jpg', 2), ('/home/nano/Desktop/images/12122025/09/37/image_12122025_09_37_14_9631.jpg', 2), ('/home/nano/Desktop/images/12122025/09/36/image_12122025_09_37_05_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/09/36/image_12122025_09_36_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:38:17.022954 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/38/image_12122025_09_38_45_9582.jpg', 2), ('/home/nano/Desktop/images/12122025/09/38/image_12122025_09_38_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/09/38/image_12122025_09_38_24_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/09/38/image_12122025_09_38_15_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/09/37/image_12122025_09_38_04_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/09/37/image_12122025_09_37_55_9581.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:38:47.002311 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/38/image_12122025_09_38_45_9582.jpg', 2), ('/home/nano/Desktop/images/12122025/09/38/image_12122025_09_38_35_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/09/38/image_12122025_09_38_24_9585.jpg', 2), ('/home/nano/Desktop/images/12122025/09/38/image_12122025_09_38_15_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/09/37/image_12122025_09_38_04_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/09/37/image_12122025_09_37_55_9581.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:39:17.111226 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/39/image_12122025_09_39_44_9611.jpg', 2), ('/home/nano/Desktop/images/12122025/09/39/image_12122025_09_39_35_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/09/39/image_12122025_09_39_25_10623.jpg', 2), ('/home/nano/Desktop/images/12122025/09/39/image_12122025_09_39_14_9616.jpg', 2), ('/home/nano/Desktop/images/12122025/09/38/image_12122025_09_39_05_10618.jpg', 2), ('/home/nano/Desktop/images/12122025/09/38/image_12122025_09_38_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:39:47.127645 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/39/image_12122025_09_39_44_9611.jpg', 2), ('/home/nano/Desktop/images/12122025/09/39/image_12122025_09_39_35_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/09/39/image_12122025_09_39_25_10623.jpg', 2), ('/home/nano/Desktop/images/12122025/09/39/image_12122025_09_39_14_9616.jpg', 2), ('/home/nano/Desktop/images/12122025/09/38/image_12122025_09_39_05_10618.jpg', 2), ('/home/nano/Desktop/images/12122025/09/38/image_12122025_09_38_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:40:17.228515 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/40/image_12122025_09_40_45_10654.jpg', 2), ('/home/nano/Desktop/images/12122025/09/40/image_12122025_09_40_34_9645.jpg', 2), ('/home/nano/Desktop/images/12122025/09/40/image_12122025_09_40_25_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/09/40/image_12122025_09_40_15_10665.jpg', 2), ('/home/nano/Desktop/images/12122025/09/39/image_12122025_09_40_04_9632.jpg', 2), ('/home/nano/Desktop/images/12122025/09/39/image_12122025_09_39_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:40:47.251199 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/40/image_12122025_09_40_45_10654.jpg', 2), ('/home/nano/Desktop/images/12122025/09/40/image_12122025_09_40_34_9645.jpg', 2), ('/home/nano/Desktop/images/12122025/09/40/image_12122025_09_40_25_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/09/40/image_12122025_09_40_15_10665.jpg', 2), ('/home/nano/Desktop/images/12122025/09/39/image_12122025_09_40_04_9632.jpg', 2), ('/home/nano/Desktop/images/12122025/09/39/image_12122025_09_39_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:41:17.382437 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/41/image_12122025_09_41_45_10640.jpg', 2), ('/home/nano/Desktop/images/12122025/09/41/image_12122025_09_41_34_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/09/41/image_12122025_09_41_25_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/09/41/image_12122025_09_41_15_10681.jpg', 2), ('/home/nano/Desktop/images/12122025/09/40/image_12122025_09_41_04_9651.jpg', 2), ('/home/nano/Desktop/images/12122025/09/40/image_12122025_09_40_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:41:47.341889 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/41/image_12122025_09_41_45_10640.jpg', 2), ('/home/nano/Desktop/images/12122025/09/41/image_12122025_09_41_34_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/09/41/image_12122025_09_41_25_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/09/41/image_12122025_09_41_15_10681.jpg', 2), ('/home/nano/Desktop/images/12122025/09/40/image_12122025_09_41_04_9651.jpg', 2), ('/home/nano/Desktop/images/12122025/09/40/image_12122025_09_40_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:42:17.453636 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/42/image_12122025_09_42_45_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/09/42/image_12122025_09_42_35_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/09/42/image_12122025_09_42_24_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/09/42/image_12122025_09_42_15_10671.jpg', 2), ('/home/nano/Desktop/images/12122025/09/41/image_12122025_09_42_04_9646.jpg', 2), ('/home/nano/Desktop/images/12122025/09/41/image_12122025_09_41_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:42:47.438302 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/42/image_12122025_09_42_45_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/09/42/image_12122025_09_42_35_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/09/42/image_12122025_09_42_24_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/09/42/image_12122025_09_42_15_10671.jpg', 2), ('/home/nano/Desktop/images/12122025/09/41/image_12122025_09_42_04_9646.jpg', 2), ('/home/nano/Desktop/images/12122025/09/41/image_12122025_09_41_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:43:17.538313 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/43/image_12122025_09_43_44_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/09/43/image_12122025_09_43_35_10620.jpg', 2), ('/home/nano/Desktop/images/12122025/09/43/image_12122025_09_43_24_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/09/43/image_12122025_09_43_15_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/09/42/image_12122025_09_43_05_10623.jpg', 2), ('/home/nano/Desktop/images/12122025/09/42/image_12122025_09_42_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:43:47.580270 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/43/image_12122025_09_43_44_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/09/43/image_12122025_09_43_35_10620.jpg', 2), ('/home/nano/Desktop/images/12122025/09/43/image_12122025_09_43_24_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/09/43/image_12122025_09_43_15_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/09/42/image_12122025_09_43_05_10623.jpg', 2), ('/home/nano/Desktop/images/12122025/09/42/image_12122025_09_42_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:44:17.674153 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/44/image_12122025_09_44_44_9611.jpg', 2), ('/home/nano/Desktop/images/12122025/09/44/image_12122025_09_44_35_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/09/44/image_12122025_09_44_25_10653.jpg', 2), ('/home/nano/Desktop/images/12122025/09/44/image_12122025_09_44_14_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/09/43/image_12122025_09_44_05_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/09/43/image_12122025_09_43_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:44:47.677610 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/44/image_12122025_09_44_44_9611.jpg', 2), ('/home/nano/Desktop/images/12122025/09/44/image_12122025_09_44_35_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/09/44/image_12122025_09_44_25_10653.jpg', 2), ('/home/nano/Desktop/images/12122025/09/44/image_12122025_09_44_14_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/09/43/image_12122025_09_44_05_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/09/43/image_12122025_09_43_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:45:16.762443 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/45/image_12122025_09_45_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/09/45/image_12122025_09_45_34_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/09/45/image_12122025_09_45_25_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/09/45/image_12122025_09_45_15_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/09/44/image_12122025_09_45_04_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/09/44/image_12122025_09_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:45:46.778080 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/45/image_12122025_09_45_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/09/45/image_12122025_09_45_34_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/09/45/image_12122025_09_45_25_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/09/45/image_12122025_09_45_15_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/09/44/image_12122025_09_45_04_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/09/44/image_12122025_09_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:46:16.895595 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/46/image_12122025_09_46_44_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/09/46/image_12122025_09_46_35_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/09/46/image_12122025_09_46_24_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/09/46/image_12122025_09_46_15_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/09/45/image_12122025_09_46_05_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/09/45/image_12122025_09_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:46:46.871630 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/46/image_12122025_09_46_44_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/09/46/image_12122025_09_46_35_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/09/46/image_12122025_09_46_24_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/09/46/image_12122025_09_46_15_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/09/45/image_12122025_09_46_05_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/09/45/image_12122025_09_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:47:16.973005 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/47/image_12122025_09_47_44_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/09/47/image_12122025_09_47_35_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/09/47/image_12122025_09_47_25_10627.jpg', 2), ('/home/nano/Desktop/images/12122025/09/47/image_12122025_09_47_14_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/09/46/image_12122025_09_47_05_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/09/46/image_12122025_09_46_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:47:47.028778 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/47/image_12122025_09_47_44_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/09/47/image_12122025_09_47_35_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/09/47/image_12122025_09_47_25_10627.jpg', 2), ('/home/nano/Desktop/images/12122025/09/47/image_12122025_09_47_14_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/09/46/image_12122025_09_47_05_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/09/46/image_12122025_09_46_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:48:17.139330 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/48/image_12122025_09_48_45_10623.jpg', 2), ('/home/nano/Desktop/images/12122025/09/48/image_12122025_09_48_34_9614.jpg', 2), ('/home/nano/Desktop/images/12122025/09/48/image_12122025_09_48_25_9633.jpg', 2), ('/home/nano/Desktop/images/12122025/09/48/image_12122025_09_48_15_10662.jpg', 2), ('/home/nano/Desktop/images/12122025/09/47/image_12122025_09_48_04_9631.jpg', 2), ('/home/nano/Desktop/images/12122025/09/47/image_12122025_09_47_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:48:47.124798 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/48/image_12122025_09_48_45_10623.jpg', 2), ('/home/nano/Desktop/images/12122025/09/48/image_12122025_09_48_34_9614.jpg', 2), ('/home/nano/Desktop/images/12122025/09/48/image_12122025_09_48_25_9633.jpg', 2), ('/home/nano/Desktop/images/12122025/09/48/image_12122025_09_48_15_10662.jpg', 2), ('/home/nano/Desktop/images/12122025/09/47/image_12122025_09_48_04_9631.jpg', 2), ('/home/nano/Desktop/images/12122025/09/47/image_12122025_09_47_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:49:17.290703 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/49/image_12122025_09_49_45_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/09/49/image_12122025_09_49_34_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/09/49/image_12122025_09_49_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/09/49/image_12122025_09_49_15_10707.jpg', 2), ('/home/nano/Desktop/images/12122025/09/48/image_12122025_09_49_04_9653.jpg', 2), ('/home/nano/Desktop/images/12122025/09/48/image_12122025_09_48_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:49:47.245445 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/49/image_12122025_09_49_45_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/09/49/image_12122025_09_49_34_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/09/49/image_12122025_09_49_24_9587.jpg', 2), ('/home/nano/Desktop/images/12122025/09/49/image_12122025_09_49_15_10707.jpg', 2), ('/home/nano/Desktop/images/12122025/09/48/image_12122025_09_49_04_9653.jpg', 2), ('/home/nano/Desktop/images/12122025/09/48/image_12122025_09_48_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:50:17.335304 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/50/image_12122025_09_50_44_9616.jpg', 2), ('/home/nano/Desktop/images/12122025/09/50/image_12122025_09_50_35_10604.jpg', 2), ('/home/nano/Desktop/images/12122025/09/50/image_12122025_09_50_24_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/09/50/image_12122025_09_50_15_9652.jpg', 2), ('/home/nano/Desktop/images/12122025/09/49/image_12122025_09_50_05_10643.jpg', 2), ('/home/nano/Desktop/images/12122025/09/49/image_12122025_09_49_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:50:47.314585 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/50/image_12122025_09_50_44_9616.jpg', 2), ('/home/nano/Desktop/images/12122025/09/50/image_12122025_09_50_35_10604.jpg', 2), ('/home/nano/Desktop/images/12122025/09/50/image_12122025_09_50_24_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/09/50/image_12122025_09_50_15_9652.jpg', 2), ('/home/nano/Desktop/images/12122025/09/49/image_12122025_09_50_05_10643.jpg', 2), ('/home/nano/Desktop/images/12122025/09/49/image_12122025_09_49_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:51:17.422912 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/51/image_12122025_09_51_44_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/09/51/image_12122025_09_51_34_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/09/51/image_12122025_09_51_25_10603.jpg', 2), ('/home/nano/Desktop/images/12122025/09/51/image_12122025_09_51_14_9611.jpg', 2), ('/home/nano/Desktop/images/12122025/09/50/image_12122025_09_51_05_9593.jpg', 2), ('/home/nano/Desktop/images/12122025/09/50/image_12122025_09_50_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:51:47.420027 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/51/image_12122025_09_51_44_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/09/51/image_12122025_09_51_34_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/09/51/image_12122025_09_51_25_10603.jpg', 2), ('/home/nano/Desktop/images/12122025/09/51/image_12122025_09_51_14_9611.jpg', 2), ('/home/nano/Desktop/images/12122025/09/50/image_12122025_09_51_05_9593.jpg', 2), ('/home/nano/Desktop/images/12122025/09/50/image_12122025_09_50_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:52:17.501617 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/52/image_12122025_09_52_45_10602.jpg', 2), ('/home/nano/Desktop/images/12122025/09/52/image_12122025_09_52_34_9594.jpg', 2), ('/home/nano/Desktop/images/12122025/09/52/image_12122025_09_52_25_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/09/52/image_12122025_09_52_15_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/09/51/image_12122025_09_52_04_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/09/51/image_12122025_09_51_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:52:47.514711 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/52/image_12122025_09_52_45_10602.jpg', 2), ('/home/nano/Desktop/images/12122025/09/52/image_12122025_09_52_34_9594.jpg', 2), ('/home/nano/Desktop/images/12122025/09/52/image_12122025_09_52_25_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/09/52/image_12122025_09_52_15_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/09/51/image_12122025_09_52_04_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/09/51/image_12122025_09_51_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:53:17.604439 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/53/image_12122025_09_53_44_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/09/53/image_12122025_09_53_35_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/09/53/image_12122025_09_53_24_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/09/53/image_12122025_09_53_15_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/09/52/image_12122025_09_53_05_10602.jpg', 2), ('/home/nano/Desktop/images/12122025/09/52/image_12122025_09_52_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:53:47.634585 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/53/image_12122025_09_53_44_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/09/53/image_12122025_09_53_35_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/09/53/image_12122025_09_53_24_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/09/53/image_12122025_09_53_15_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/09/52/image_12122025_09_53_05_10602.jpg', 2), ('/home/nano/Desktop/images/12122025/09/52/image_12122025_09_52_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:54:17.739576 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/54/image_12122025_09_54_44_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/09/54/image_12122025_09_54_34_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/09/54/image_12122025_09_54_25_10627.jpg', 2), ('/home/nano/Desktop/images/12122025/09/54/image_12122025_09_54_14_9631.jpg', 2), ('/home/nano/Desktop/images/12122025/09/53/image_12122025_09_54_05_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/09/53/image_12122025_09_53_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:54:47.835359 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/54/image_12122025_09_54_44_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/09/54/image_12122025_09_54_34_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/09/54/image_12122025_09_54_25_10627.jpg', 2), ('/home/nano/Desktop/images/12122025/09/54/image_12122025_09_54_14_9631.jpg', 2), ('/home/nano/Desktop/images/12122025/09/53/image_12122025_09_54_05_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/09/53/image_12122025_09_53_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:55:16.935991 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/55/image_12122025_09_55_45_10677.jpg', 2), ('/home/nano/Desktop/images/12122025/09/55/image_12122025_09_55_34_9632.jpg', 2), ('/home/nano/Desktop/images/12122025/09/55/image_12122025_09_55_25_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/09/55/image_12122025_09_55_15_10654.jpg', 2), ('/home/nano/Desktop/images/12122025/09/54/image_12122025_09_55_04_9648.jpg', 2), ('/home/nano/Desktop/images/12122025/09/54/image_12122025_09_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:55:47.027114 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/55/image_12122025_09_55_45_10677.jpg', 2), ('/home/nano/Desktop/images/12122025/09/55/image_12122025_09_55_34_9632.jpg', 2), ('/home/nano/Desktop/images/12122025/09/55/image_12122025_09_55_25_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/09/55/image_12122025_09_55_15_10654.jpg', 2), ('/home/nano/Desktop/images/12122025/09/54/image_12122025_09_55_04_9648.jpg', 2), ('/home/nano/Desktop/images/12122025/09/54/image_12122025_09_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:56:17.132389 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/56/image_12122025_09_56_45_10664.jpg', 2), ('/home/nano/Desktop/images/12122025/09/56/image_12122025_09_56_34_9632.jpg', 2), ('/home/nano/Desktop/images/12122025/09/56/image_12122025_09_56_25_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/09/56/image_12122025_09_56_15_10646.jpg', 2), ('/home/nano/Desktop/images/12122025/09/55/image_12122025_09_56_04_9656.jpg', 2), ('/home/nano/Desktop/images/12122025/09/55/image_12122025_09_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:56:47.140836 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/56/image_12122025_09_56_45_10664.jpg', 2), ('/home/nano/Desktop/images/12122025/09/56/image_12122025_09_56_34_9632.jpg', 2), ('/home/nano/Desktop/images/12122025/09/56/image_12122025_09_56_25_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/09/56/image_12122025_09_56_15_10646.jpg', 2), ('/home/nano/Desktop/images/12122025/09/55/image_12122025_09_56_04_9656.jpg', 2), ('/home/nano/Desktop/images/12122025/09/55/image_12122025_09_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:57:17.252737 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/57/image_12122025_09_57_45_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/09/57/image_12122025_09_57_35_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/09/57/image_12122025_09_57_24_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/09/57/image_12122025_09_57_15_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/09/56/image_12122025_09_57_05_10648.jpg', 2), ('/home/nano/Desktop/images/12122025/09/56/image_12122025_09_56_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:57:47.224416 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 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-12 09:58:02.913195 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/57/image_12122025_09_57_45_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/09/57/image_12122025_09_57_35_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/09/57/image_12122025_09_57_24_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/09/57/image_12122025_09_57_15_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/09/56/image_12122025_09_57_05_10648.jpg', 2), ('/home/nano/Desktop/images/12122025/09/56/image_12122025_09_56_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:59:03.718618 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/59/image_12122025_09_59_44_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/09/59/image_12122025_09_59_35_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/09/59/image_12122025_09_59_25_10641.jpg', 2), ('/home/nano/Desktop/images/12122025/09/59/image_12122025_09_59_14_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/09/58/image_12122025_09_59_05_9661.jpg', 2), ('/home/nano/Desktop/images/12122025/09/58/image_12122025_09_58_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 09:59:32.357278 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/59/image_12122025_09_59_44_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/09/59/image_12122025_09_59_35_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/09/59/image_12122025_09_59_25_10641.jpg', 2), ('/home/nano/Desktop/images/12122025/09/59/image_12122025_09_59_14_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/09/58/image_12122025_09_59_05_9661.jpg', 2), ('/home/nano/Desktop/images/12122025/09/58/image_12122025_09_58_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:00:02.899824 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/09/59/image_12122025_09_59_44_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/09/59/image_12122025_09_59_35_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/09/59/image_12122025_09_59_25_10641.jpg', 2), ('/home/nano/Desktop/images/12122025/09/59/image_12122025_09_59_14_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/09/58/image_12122025_09_59_05_9661.jpg', 2), ('/home/nano/Desktop/images/12122025/09/58/image_12122025_09_58_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:00:32.506172 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/00/image_12122025_10_00_45_10685.jpg', 2), ('/home/nano/Desktop/images/12122025/10/00/image_12122025_10_00_34_9593.jpg', 2), ('/home/nano/Desktop/images/12122025/10/00/image_12122025_10_00_25_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/10/00/image_12122025_10_00_15_10662.jpg', 2), ('/home/nano/Desktop/images/12122025/09/59/image_12122025_10_00_04_9647.jpg', 2), ('/home/nano/Desktop/images/12122025/09/59/image_12122025_09_59_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:01:03.199623 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/00/image_12122025_10_00_45_10685.jpg', 2), ('/home/nano/Desktop/images/12122025/10/00/image_12122025_10_00_34_9593.jpg', 2), ('/home/nano/Desktop/images/12122025/10/00/image_12122025_10_00_25_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/10/00/image_12122025_10_00_15_10662.jpg', 2), ('/home/nano/Desktop/images/12122025/09/59/image_12122025_10_00_04_9647.jpg', 2), ('/home/nano/Desktop/images/12122025/09/59/image_12122025_09_59_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:01:32.559985 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/01/image_12122025_10_01_45_10660.jpg', 2), ('/home/nano/Desktop/images/12122025/10/01/image_12122025_10_01_34_9632.jpg', 2), ('/home/nano/Desktop/images/12122025/10/01/image_12122025_10_01_24_9616.jpg', 2), ('/home/nano/Desktop/images/12122025/10/01/image_12122025_10_01_15_10627.jpg', 2), ('/home/nano/Desktop/images/12122025/10/00/image_12122025_10_01_04_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/10/00/image_12122025_10_00_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:02:03.207823 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/01/image_12122025_10_01_45_10660.jpg', 2), ('/home/nano/Desktop/images/12122025/10/01/image_12122025_10_01_34_9632.jpg', 2), ('/home/nano/Desktop/images/12122025/10/01/image_12122025_10_01_24_9616.jpg', 2), ('/home/nano/Desktop/images/12122025/10/01/image_12122025_10_01_15_10627.jpg', 2), ('/home/nano/Desktop/images/12122025/10/00/image_12122025_10_01_04_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/10/00/image_12122025_10_00_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:02:32.674270 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/02/image_12122025_10_02_45_9631.jpg', 2), ('/home/nano/Desktop/images/12122025/10/02/image_12122025_10_02_35_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/10/02/image_12122025_10_02_24_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/10/02/image_12122025_10_02_15_9647.jpg', 2), ('/home/nano/Desktop/images/12122025/10/01/image_12122025_10_02_05_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/10/01/image_12122025_10_01_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:03:03.291164 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/02/image_12122025_10_02_45_9631.jpg', 2), ('/home/nano/Desktop/images/12122025/10/02/image_12122025_10_02_35_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/10/02/image_12122025_10_02_24_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/10/02/image_12122025_10_02_15_9647.jpg', 2), ('/home/nano/Desktop/images/12122025/10/01/image_12122025_10_02_05_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/10/01/image_12122025_10_01_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:03:32.731306 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/03/image_12122025_10_03_44_9654.jpg', 2), ('/home/nano/Desktop/images/12122025/10/03/image_12122025_10_03_35_9644.jpg', 2), ('/home/nano/Desktop/images/12122025/10/03/image_12122025_10_03_25_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/10/03/image_12122025_10_03_14_9632.jpg', 2), ('/home/nano/Desktop/images/12122025/10/02/image_12122025_10_03_05_10639.jpg', 2), ('/home/nano/Desktop/images/12122025/10/02/image_12122025_10_02_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:04:02.775543 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/03/image_12122025_10_03_44_9654.jpg', 2), ('/home/nano/Desktop/images/12122025/10/03/image_12122025_10_03_35_9644.jpg', 2), ('/home/nano/Desktop/images/12122025/10/03/image_12122025_10_03_25_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/10/03/image_12122025_10_03_14_9632.jpg', 2), ('/home/nano/Desktop/images/12122025/10/02/image_12122025_10_03_05_10639.jpg', 2), ('/home/nano/Desktop/images/12122025/10/02/image_12122025_10_02_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:04:31.856472 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/04/image_12122025_10_04_44_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/10/04/image_12122025_10_04_35_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/10/04/image_12122025_10_04_25_10624.jpg', 2), ('/home/nano/Desktop/images/12122025/10/04/image_12122025_10_04_14_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/10/03/image_12122025_10_04_05_9646.jpg', 2), ('/home/nano/Desktop/images/12122025/10/03/image_12122025_10_03_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:05:02.680039 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/04/image_12122025_10_04_44_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/10/04/image_12122025_10_04_35_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/10/04/image_12122025_10_04_25_10624.jpg', 2), ('/home/nano/Desktop/images/12122025/10/04/image_12122025_10_04_14_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/10/03/image_12122025_10_04_05_9646.jpg', 2), ('/home/nano/Desktop/images/12122025/10/03/image_12122025_10_03_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:05:31.914058 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/05/image_12122025_10_05_45_10643.jpg', 2), ('/home/nano/Desktop/images/12122025/10/05/image_12122025_10_05_34_9647.jpg', 2), ('/home/nano/Desktop/images/12122025/10/05/image_12122025_10_05_25_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/10/05/image_12122025_10_05_15_10644.jpg', 2), ('/home/nano/Desktop/images/12122025/10/04/image_12122025_10_05_04_9667.jpg', 2), ('/home/nano/Desktop/images/12122025/10/04/image_12122025_10_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:06:02.451253 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/05/image_12122025_10_05_45_10643.jpg', 2), ('/home/nano/Desktop/images/12122025/10/05/image_12122025_10_05_34_9647.jpg', 2), ('/home/nano/Desktop/images/12122025/10/05/image_12122025_10_05_25_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/10/05/image_12122025_10_05_15_10644.jpg', 2), ('/home/nano/Desktop/images/12122025/10/04/image_12122025_10_05_04_9667.jpg', 2), ('/home/nano/Desktop/images/12122025/10/04/image_12122025_10_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:06:32.024894 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/06/image_12122025_10_06_45_10641.jpg', 2), ('/home/nano/Desktop/images/12122025/10/06/image_12122025_10_06_34_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/10/06/image_12122025_10_06_25_9611.jpg', 2), ('/home/nano/Desktop/images/12122025/10/06/image_12122025_10_06_15_10663.jpg', 2), ('/home/nano/Desktop/images/12122025/10/05/image_12122025_10_06_04_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/10/05/image_12122025_10_05_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:07:02.968541 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/06/image_12122025_10_06_45_10641.jpg', 2), ('/home/nano/Desktop/images/12122025/10/06/image_12122025_10_06_34_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/10/06/image_12122025_10_06_25_9611.jpg', 2), ('/home/nano/Desktop/images/12122025/10/06/image_12122025_10_06_15_10663.jpg', 2), ('/home/nano/Desktop/images/12122025/10/05/image_12122025_10_06_04_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/10/05/image_12122025_10_05_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:07:32.211994 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/07/image_12122025_10_07_45_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/10/07/image_12122025_10_07_35_10618.jpg', 2), ('/home/nano/Desktop/images/12122025/10/07/image_12122025_10_07_24_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/10/07/image_12122025_10_07_15_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/10/06/image_12122025_10_07_05_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/10/06/image_12122025_10_06_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:08:02.880387 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/07/image_12122025_10_07_45_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/10/07/image_12122025_10_07_35_10618.jpg', 2), ('/home/nano/Desktop/images/12122025/10/07/image_12122025_10_07_24_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/10/07/image_12122025_10_07_15_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/10/06/image_12122025_10_07_05_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/10/06/image_12122025_10_06_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:08:32.279585 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/08/image_12122025_10_08_44_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/10/08/image_12122025_10_08_35_9632.jpg', 2), ('/home/nano/Desktop/images/12122025/10/08/image_12122025_10_08_25_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/10/08/image_12122025_10_08_14_9644.jpg', 2), ('/home/nano/Desktop/images/12122025/10/07/image_12122025_10_08_05_10643.jpg', 2), ('/home/nano/Desktop/images/12122025/10/07/image_12122025_10_07_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:09:03.368677 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/08/image_12122025_10_08_44_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/10/08/image_12122025_10_08_35_9632.jpg', 2), ('/home/nano/Desktop/images/12122025/10/08/image_12122025_10_08_25_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/10/08/image_12122025_10_08_14_9644.jpg', 2), ('/home/nano/Desktop/images/12122025/10/07/image_12122025_10_08_05_10643.jpg', 2), ('/home/nano/Desktop/images/12122025/10/07/image_12122025_10_07_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:09:32.389609 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/09/image_12122025_10_09_44_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/10/09/image_12122025_10_09_35_9654.jpg', 2), ('/home/nano/Desktop/images/12122025/10/09/image_12122025_10_09_25_10610.jpg', 2), ('/home/nano/Desktop/images/12122025/10/09/image_12122025_10_09_14_9633.jpg', 2), ('/home/nano/Desktop/images/12122025/10/08/image_12122025_10_09_05_9659.jpg', 2), ('/home/nano/Desktop/images/12122025/10/08/image_12122025_10_08_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:10:03.083034 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/09/image_12122025_10_09_44_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/10/09/image_12122025_10_09_35_9654.jpg', 2), ('/home/nano/Desktop/images/12122025/10/09/image_12122025_10_09_25_10610.jpg', 2), ('/home/nano/Desktop/images/12122025/10/09/image_12122025_10_09_14_9633.jpg', 2), ('/home/nano/Desktop/images/12122025/10/08/image_12122025_10_09_05_9659.jpg', 2), ('/home/nano/Desktop/images/12122025/10/08/image_12122025_10_08_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:10:32.464186 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/10/image_12122025_10_10_45_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/10/10/image_12122025_10_10_34_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/10/10/image_12122025_10_10_25_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/10/10/image_12122025_10_10_15_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/10/09/image_12122025_10_10_04_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/10/09/image_12122025_10_09_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:11:03.261627 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/10/image_12122025_10_10_45_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/10/10/image_12122025_10_10_34_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/10/10/image_12122025_10_10_25_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/10/10/image_12122025_10_10_15_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/10/09/image_12122025_10_10_04_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/10/09/image_12122025_10_09_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:11:32.585503 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/11/image_12122025_10_11_45_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/10/11/image_12122025_10_11_35_10623.jpg', 2), ('/home/nano/Desktop/images/12122025/10/11/image_12122025_10_11_24_9616.jpg', 2), ('/home/nano/Desktop/images/12122025/10/11/image_12122025_10_11_15_10641.jpg', 2), ('/home/nano/Desktop/images/12122025/10/10/image_12122025_10_11_04_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/10/10/image_12122025_10_10_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:12:03.246922 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/11/image_12122025_10_11_45_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/10/11/image_12122025_10_11_35_10623.jpg', 2), ('/home/nano/Desktop/images/12122025/10/11/image_12122025_10_11_24_9616.jpg', 2), ('/home/nano/Desktop/images/12122025/10/11/image_12122025_10_11_15_10641.jpg', 2), ('/home/nano/Desktop/images/12122025/10/10/image_12122025_10_11_04_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/10/10/image_12122025_10_10_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:12:32.654035 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/12/image_12122025_10_12_44_9633.jpg', 2), ('/home/nano/Desktop/images/12122025/10/12/image_12122025_10_12_35_10626.jpg', 2), ('/home/nano/Desktop/images/12122025/10/12/image_12122025_10_12_24_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/10/12/image_12122025_10_12_14_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/10/11/image_12122025_10_12_05_10656.jpg', 2), ('/home/nano/Desktop/images/12122025/10/11/image_12122025_10_11_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:13:03.515811 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/12/image_12122025_10_12_44_9633.jpg', 2), ('/home/nano/Desktop/images/12122025/10/12/image_12122025_10_12_35_10626.jpg', 2), ('/home/nano/Desktop/images/12122025/10/12/image_12122025_10_12_24_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/10/12/image_12122025_10_12_14_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/10/11/image_12122025_10_12_05_10656.jpg', 2), ('/home/nano/Desktop/images/12122025/10/11/image_12122025_10_11_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:13:32.758203 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/13/image_12122025_10_13_44_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/10/13/image_12122025_10_13_35_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/10/13/image_12122025_10_13_25_10626.jpg', 2), ('/home/nano/Desktop/images/12122025/10/13/image_12122025_10_13_14_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/10/12/image_12122025_10_13_05_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/10/12/image_12122025_10_12_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:14:02.553052 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/13/image_12122025_10_13_44_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/10/13/image_12122025_10_13_35_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/10/13/image_12122025_10_13_25_10626.jpg', 2), ('/home/nano/Desktop/images/12122025/10/13/image_12122025_10_13_14_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/10/12/image_12122025_10_13_05_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/10/12/image_12122025_10_12_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:14:31.853727 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/14/image_12122025_10_14_45_10637.jpg', 2), ('/home/nano/Desktop/images/12122025/10/14/image_12122025_10_14_34_9643.jpg', 2), ('/home/nano/Desktop/images/12122025/10/14/image_12122025_10_14_25_9632.jpg', 2), ('/home/nano/Desktop/images/12122025/10/14/image_12122025_10_14_15_10644.jpg', 2), ('/home/nano/Desktop/images/12122025/10/13/image_12122025_10_14_04_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/10/13/image_12122025_10_13_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:15:02.597575 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/14/image_12122025_10_14_45_10637.jpg', 2), ('/home/nano/Desktop/images/12122025/10/14/image_12122025_10_14_34_9643.jpg', 2), ('/home/nano/Desktop/images/12122025/10/14/image_12122025_10_14_25_9632.jpg', 2), ('/home/nano/Desktop/images/12122025/10/14/image_12122025_10_14_15_10644.jpg', 2), ('/home/nano/Desktop/images/12122025/10/13/image_12122025_10_14_04_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/10/13/image_12122025_10_13_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:15:31.973260 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/15/image_12122025_10_15_45_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/10/15/image_12122025_10_15_35_10638.jpg', 2), ('/home/nano/Desktop/images/12122025/10/15/image_12122025_10_15_24_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/10/15/image_12122025_10_15_15_10645.jpg', 2), ('/home/nano/Desktop/images/12122025/10/14/image_12122025_10_15_04_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/10/14/image_12122025_10_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:16:02.688983 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/15/image_12122025_10_15_45_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/10/15/image_12122025_10_15_35_10638.jpg', 2), ('/home/nano/Desktop/images/12122025/10/15/image_12122025_10_15_24_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/10/15/image_12122025_10_15_15_10645.jpg', 2), ('/home/nano/Desktop/images/12122025/10/14/image_12122025_10_15_04_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/10/14/image_12122025_10_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:16:32.062776 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/16/image_12122025_10_16_44_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/10/16/image_12122025_10_16_35_10665.jpg', 2), ('/home/nano/Desktop/images/12122025/10/16/image_12122025_10_16_24_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/10/16/image_12122025_10_16_15_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/10/15/image_12122025_10_16_05_10668.jpg', 2), ('/home/nano/Desktop/images/12122025/10/15/image_12122025_10_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:17:02.959302 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/16/image_12122025_10_16_44_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/10/16/image_12122025_10_16_35_10665.jpg', 2), ('/home/nano/Desktop/images/12122025/10/16/image_12122025_10_16_24_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/10/16/image_12122025_10_16_15_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/10/15/image_12122025_10_16_05_10668.jpg', 2), ('/home/nano/Desktop/images/12122025/10/15/image_12122025_10_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:17:32.196930 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/17/image_12122025_10_17_44_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/10/17/image_12122025_10_17_35_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/10/17/image_12122025_10_17_25_10619.jpg', 2), ('/home/nano/Desktop/images/12122025/10/17/image_12122025_10_17_14_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/10/16/image_12122025_10_17_05_10651.jpg', 2), ('/home/nano/Desktop/images/12122025/10/16/image_12122025_10_16_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:18:02.968595 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/17/image_12122025_10_17_44_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/10/17/image_12122025_10_17_35_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/10/17/image_12122025_10_17_25_10619.jpg', 2), ('/home/nano/Desktop/images/12122025/10/17/image_12122025_10_17_14_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/10/16/image_12122025_10_17_05_10651.jpg', 2), ('/home/nano/Desktop/images/12122025/10/16/image_12122025_10_16_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:18:32.282663 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/18/image_12122025_10_18_45_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/10/18/image_12122025_10_18_34_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/10/18/image_12122025_10_18_25_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/10/18/image_12122025_10_18_14_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/10/17/image_12122025_10_18_04_9636.jpg', 2), ('/home/nano/Desktop/images/12122025/10/17/image_12122025_10_17_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:19:03.356498 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/18/image_12122025_10_18_45_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/10/18/image_12122025_10_18_34_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/10/18/image_12122025_10_18_25_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/10/18/image_12122025_10_18_14_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/10/17/image_12122025_10_18_04_9636.jpg', 2), ('/home/nano/Desktop/images/12122025/10/17/image_12122025_10_17_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:19:32.381422 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/19/image_12122025_10_19_45_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/10/19/image_12122025_10_19_35_10620.jpg', 2), ('/home/nano/Desktop/images/12122025/10/19/image_12122025_10_19_24_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/10/19/image_12122025_10_19_15_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/10/18/image_12122025_10_19_04_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/10/18/image_12122025_10_18_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:20:03.089094 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/19/image_12122025_10_19_45_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/10/19/image_12122025_10_19_35_10620.jpg', 2), ('/home/nano/Desktop/images/12122025/10/19/image_12122025_10_19_24_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/10/19/image_12122025_10_19_15_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/10/18/image_12122025_10_19_04_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/10/18/image_12122025_10_18_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:20:32.470142 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/20/image_12122025_10_20_44_9614.jpg', 2), ('/home/nano/Desktop/images/12122025/10/20/image_12122025_10_20_35_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/10/20/image_12122025_10_20_24_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/10/20/image_12122025_10_20_15_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/10/19/image_12122025_10_20_05_10658.jpg', 2), ('/home/nano/Desktop/images/12122025/10/19/image_12122025_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:21:03.128985 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/20/image_12122025_10_20_44_9614.jpg', 2), ('/home/nano/Desktop/images/12122025/10/20/image_12122025_10_20_35_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/10/20/image_12122025_10_20_24_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/10/20/image_12122025_10_20_15_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/10/19/image_12122025_10_20_05_10658.jpg', 2), ('/home/nano/Desktop/images/12122025/10/19/image_12122025_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:21:32.557906 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/21/image_12122025_10_21_44_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/10/21/image_12122025_10_21_35_9646.jpg', 2), ('/home/nano/Desktop/images/12122025/10/21/image_12122025_10_21_25_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/10/21/image_12122025_10_21_14_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/10/20/image_12122025_10_21_05_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/10/20/image_12122025_10_20_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:22:03.137305 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/21/image_12122025_10_21_44_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/10/21/image_12122025_10_21_35_9646.jpg', 2), ('/home/nano/Desktop/images/12122025/10/21/image_12122025_10_21_25_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/10/21/image_12122025_10_21_14_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/10/20/image_12122025_10_21_05_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/10/20/image_12122025_10_20_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:22:32.714669 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/22/image_12122025_10_22_45_10638.jpg', 2), ('/home/nano/Desktop/images/12122025/10/22/image_12122025_10_22_34_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/10/22/image_12122025_10_22_25_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/10/22/image_12122025_10_22_14_9650.jpg', 2), ('/home/nano/Desktop/images/12122025/10/21/image_12122025_10_22_05_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/10/21/image_12122025_10_21_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:23:03.480322 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/22/image_12122025_10_22_45_10638.jpg', 2), ('/home/nano/Desktop/images/12122025/10/22/image_12122025_10_22_34_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/10/22/image_12122025_10_22_25_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/10/22/image_12122025_10_22_14_9650.jpg', 2), ('/home/nano/Desktop/images/12122025/10/21/image_12122025_10_22_05_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/10/21/image_12122025_10_21_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:23:32.759949 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/23/image_12122025_10_23_45_10643.jpg', 2), ('/home/nano/Desktop/images/12122025/10/23/image_12122025_10_23_34_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/10/23/image_12122025_10_23_25_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/10/23/image_12122025_10_23_15_10639.jpg', 2), ('/home/nano/Desktop/images/12122025/10/22/image_12122025_10_23_04_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/10/22/image_12122025_10_22_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:24:02.585004 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/23/image_12122025_10_23_45_10643.jpg', 2), ('/home/nano/Desktop/images/12122025/10/23/image_12122025_10_23_34_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/10/23/image_12122025_10_23_25_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/10/23/image_12122025_10_23_15_10639.jpg', 2), ('/home/nano/Desktop/images/12122025/10/22/image_12122025_10_23_04_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/10/22/image_12122025_10_22_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:24:31.871975 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/24/image_12122025_10_24_45_9633.jpg', 2), ('/home/nano/Desktop/images/12122025/10/24/image_12122025_10_24_35_10616.jpg', 2), ('/home/nano/Desktop/images/12122025/10/24/image_12122025_10_24_24_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/10/24/image_12122025_10_24_15_9645.jpg', 2), ('/home/nano/Desktop/images/12122025/10/23/image_12122025_10_24_05_10644.jpg', 2), ('/home/nano/Desktop/images/12122025/10/23/image_12122025_10_23_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:25:02.631028 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/24/image_12122025_10_24_45_9633.jpg', 2), ('/home/nano/Desktop/images/12122025/10/24/image_12122025_10_24_35_10616.jpg', 2), ('/home/nano/Desktop/images/12122025/10/24/image_12122025_10_24_24_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/10/24/image_12122025_10_24_15_9645.jpg', 2), ('/home/nano/Desktop/images/12122025/10/23/image_12122025_10_24_05_10644.jpg', 2), ('/home/nano/Desktop/images/12122025/10/23/image_12122025_10_23_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:25:31.959293 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/25/image_12122025_10_25_44_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/10/25/image_12122025_10_25_35_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/10/25/image_12122025_10_25_24_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/10/25/image_12122025_10_25_14_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/10/24/image_12122025_10_25_05_10644.jpg', 2), ('/home/nano/Desktop/images/12122025/10/24/image_12122025_10_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:26:02.676226 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/25/image_12122025_10_25_44_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/10/25/image_12122025_10_25_35_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/10/25/image_12122025_10_25_24_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/10/25/image_12122025_10_25_14_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/10/24/image_12122025_10_25_05_10644.jpg', 2), ('/home/nano/Desktop/images/12122025/10/24/image_12122025_10_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:26:32.067469 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/26/image_12122025_10_26_44_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/10/26/image_12122025_10_26_35_9662.jpg', 2), ('/home/nano/Desktop/images/12122025/10/26/image_12122025_10_26_25_10650.jpg', 2), ('/home/nano/Desktop/images/12122025/10/26/image_12122025_10_26_14_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/10/25/image_12122025_10_26_05_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/10/25/image_12122025_10_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:27:02.918156 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/26/image_12122025_10_26_44_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/10/26/image_12122025_10_26_35_9662.jpg', 2), ('/home/nano/Desktop/images/12122025/10/26/image_12122025_10_26_25_10650.jpg', 2), ('/home/nano/Desktop/images/12122025/10/26/image_12122025_10_26_14_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/10/25/image_12122025_10_26_05_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/10/25/image_12122025_10_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:27:32.215059 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/27/image_12122025_10_27_45_10624.jpg', 2), ('/home/nano/Desktop/images/12122025/10/27/image_12122025_10_27_34_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/10/27/image_12122025_10_27_25_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/10/27/image_12122025_10_27_15_10642.jpg', 2), ('/home/nano/Desktop/images/12122025/10/26/image_12122025_10_27_04_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/10/26/image_12122025_10_26_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:28:02.838119 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/27/image_12122025_10_27_45_10624.jpg', 2), ('/home/nano/Desktop/images/12122025/10/27/image_12122025_10_27_34_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/10/27/image_12122025_10_27_25_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/10/27/image_12122025_10_27_15_10642.jpg', 2), ('/home/nano/Desktop/images/12122025/10/26/image_12122025_10_27_04_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/10/26/image_12122025_10_26_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:28:32.288814 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/28/image_12122025_10_28_45_10674.jpg', 2), ('/home/nano/Desktop/images/12122025/10/28/image_12122025_10_28_34_9680.jpg', 2), ('/home/nano/Desktop/images/12122025/10/28/image_12122025_10_28_24_9611.jpg', 2), ('/home/nano/Desktop/images/12122025/10/28/image_12122025_10_28_15_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/10/27/image_12122025_10_28_04_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/10/27/image_12122025_10_27_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:29:03.415745 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/28/image_12122025_10_28_45_10674.jpg', 2), ('/home/nano/Desktop/images/12122025/10/28/image_12122025_10_28_34_9680.jpg', 2), ('/home/nano/Desktop/images/12122025/10/28/image_12122025_10_28_24_9611.jpg', 2), ('/home/nano/Desktop/images/12122025/10/28/image_12122025_10_28_15_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/10/27/image_12122025_10_28_04_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/10/27/image_12122025_10_27_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:29:32.438054 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/29/image_12122025_10_29_45_10671.jpg', 2), ('/home/nano/Desktop/images/12122025/10/29/image_12122025_10_29_34_9663.jpg', 2), ('/home/nano/Desktop/images/12122025/10/29/image_12122025_10_29_24_9689.jpg', 2), ('/home/nano/Desktop/images/12122025/10/29/image_12122025_10_29_15_10711.jpg', 2), ('/home/nano/Desktop/images/12122025/10/28/image_12122025_10_29_04_9679.jpg', 2), ('/home/nano/Desktop/images/12122025/10/28/image_12122025_10_28_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:30:03.035064 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/29/image_12122025_10_29_45_10671.jpg', 2), ('/home/nano/Desktop/images/12122025/10/29/image_12122025_10_29_34_9663.jpg', 2), ('/home/nano/Desktop/images/12122025/10/29/image_12122025_10_29_24_9689.jpg', 2), ('/home/nano/Desktop/images/12122025/10/29/image_12122025_10_29_15_10711.jpg', 2), ('/home/nano/Desktop/images/12122025/10/28/image_12122025_10_29_04_9679.jpg', 2), ('/home/nano/Desktop/images/12122025/10/28/image_12122025_10_28_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:30:32.561734 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/30/image_12122025_10_30_45_10638.jpg', 2), ('/home/nano/Desktop/images/12122025/10/30/image_12122025_10_30_34_9734.jpg', 2), ('/home/nano/Desktop/images/12122025/10/30/image_12122025_10_30_25_9633.jpg', 2), ('/home/nano/Desktop/images/12122025/10/30/image_12122025_10_30_15_10722.jpg', 2), ('/home/nano/Desktop/images/12122025/10/29/image_12122025_10_30_04_9720.jpg', 2), ('/home/nano/Desktop/images/12122025/10/29/image_12122025_10_29_55_9687.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:31:03.442375 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/30/image_12122025_10_30_45_10638.jpg', 2), ('/home/nano/Desktop/images/12122025/10/30/image_12122025_10_30_34_9734.jpg', 2), ('/home/nano/Desktop/images/12122025/10/30/image_12122025_10_30_25_9633.jpg', 2), ('/home/nano/Desktop/images/12122025/10/30/image_12122025_10_30_15_10722.jpg', 2), ('/home/nano/Desktop/images/12122025/10/29/image_12122025_10_30_04_9720.jpg', 2), ('/home/nano/Desktop/images/12122025/10/29/image_12122025_10_29_55_9687.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:31:32.696483 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/31/image_12122025_10_31_45_10625.jpg', 2), ('/home/nano/Desktop/images/12122025/10/31/image_12122025_10_31_34_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/10/31/image_12122025_10_31_25_9654.jpg', 2), ('/home/nano/Desktop/images/12122025/10/31/image_12122025_10_31_15_10705.jpg', 2), ('/home/nano/Desktop/images/12122025/10/30/image_12122025_10_31_04_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/10/30/image_12122025_10_30_55_9767.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:32:02.373448 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/31/image_12122025_10_31_45_10625.jpg', 2), ('/home/nano/Desktop/images/12122025/10/31/image_12122025_10_31_34_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/10/31/image_12122025_10_31_25_9654.jpg', 2), ('/home/nano/Desktop/images/12122025/10/31/image_12122025_10_31_15_10705.jpg', 2), ('/home/nano/Desktop/images/12122025/10/30/image_12122025_10_31_04_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/10/30/image_12122025_10_30_55_9767.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:32:31.788431 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/32/image_12122025_10_32_45_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/10/32/image_12122025_10_32_35_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/10/32/image_12122025_10_32_24_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/10/32/image_12122025_10_32_15_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/10/31/image_12122025_10_32_04_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/10/31/image_12122025_10_31_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:33:02.401748 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/32/image_12122025_10_32_45_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/10/32/image_12122025_10_32_35_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/10/32/image_12122025_10_32_24_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/10/32/image_12122025_10_32_15_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/10/31/image_12122025_10_32_04_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/10/31/image_12122025_10_31_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:33:31.863402 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/33/image_12122025_10_33_44_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/10/33/image_12122025_10_33_35_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/10/33/image_12122025_10_33_25_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/10/33/image_12122025_10_33_14_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/10/32/image_12122025_10_33_05_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/10/32/image_12122025_10_32_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:34:02.928840 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/33/image_12122025_10_33_44_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/10/33/image_12122025_10_33_35_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/10/33/image_12122025_10_33_25_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/10/33/image_12122025_10_33_14_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/10/32/image_12122025_10_33_05_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/10/32/image_12122025_10_32_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:34:31.937749 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/34/image_12122025_10_34_45_10664.jpg', 2), ('/home/nano/Desktop/images/12122025/10/34/image_12122025_10_34_34_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/10/34/image_12122025_10_34_25_10616.jpg', 2), ('/home/nano/Desktop/images/12122025/10/34/image_12122025_10_34_14_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/10/33/image_12122025_10_34_05_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/10/33/image_12122025_10_33_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:35:02.652508 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/34/image_12122025_10_34_45_10664.jpg', 2), ('/home/nano/Desktop/images/12122025/10/34/image_12122025_10_34_34_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/10/34/image_12122025_10_34_25_10616.jpg', 2), ('/home/nano/Desktop/images/12122025/10/34/image_12122025_10_34_14_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/10/33/image_12122025_10_34_05_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/10/33/image_12122025_10_33_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:35:32.082463 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/35/image_12122025_10_35_45_10645.jpg', 2), ('/home/nano/Desktop/images/12122025/10/35/image_12122025_10_35_34_9647.jpg', 2), ('/home/nano/Desktop/images/12122025/10/35/image_12122025_10_35_25_9671.jpg', 2), ('/home/nano/Desktop/images/12122025/10/35/image_12122025_10_35_15_10692.jpg', 2), ('/home/nano/Desktop/images/12122025/10/34/image_12122025_10_35_04_9660.jpg', 2), ('/home/nano/Desktop/images/12122025/10/34/image_12122025_10_34_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:36:02.641165 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/35/image_12122025_10_35_45_10645.jpg', 2), ('/home/nano/Desktop/images/12122025/10/35/image_12122025_10_35_34_9647.jpg', 2), ('/home/nano/Desktop/images/12122025/10/35/image_12122025_10_35_25_9671.jpg', 2), ('/home/nano/Desktop/images/12122025/10/35/image_12122025_10_35_15_10692.jpg', 2), ('/home/nano/Desktop/images/12122025/10/34/image_12122025_10_35_04_9660.jpg', 2), ('/home/nano/Desktop/images/12122025/10/34/image_12122025_10_34_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:36:32.227570 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/36/image_12122025_10_36_45_9747.jpg', 2), ('/home/nano/Desktop/images/12122025/10/36/image_12122025_10_36_35_9768.jpg', 2), ('/home/nano/Desktop/images/12122025/10/36/image_12122025_10_36_25_10740.jpg', 2), ('/home/nano/Desktop/images/12122025/10/36/image_12122025_10_36_14_9763.jpg', 2), ('/home/nano/Desktop/images/12122025/10/35/image_12122025_10_36_05_9767.jpg', 2), ('/home/nano/Desktop/images/12122025/10/35/image_12122025_10_35_55_9748.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:37:02.983210 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/36/image_12122025_10_36_45_9747.jpg', 2), ('/home/nano/Desktop/images/12122025/10/36/image_12122025_10_36_35_9768.jpg', 2), ('/home/nano/Desktop/images/12122025/10/36/image_12122025_10_36_25_10740.jpg', 2), ('/home/nano/Desktop/images/12122025/10/36/image_12122025_10_36_14_9763.jpg', 2), ('/home/nano/Desktop/images/12122025/10/35/image_12122025_10_36_05_9767.jpg', 2), ('/home/nano/Desktop/images/12122025/10/35/image_12122025_10_35_55_9748.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:37:32.348247 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/37/image_12122025_10_37_45_10675.jpg', 2), ('/home/nano/Desktop/images/12122025/10/37/image_12122025_10_37_34_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/10/37/image_12122025_10_37_25_9662.jpg', 2), ('/home/nano/Desktop/images/12122025/10/37/image_12122025_10_37_15_9796.jpg', 2), ('/home/nano/Desktop/images/12122025/10/36/image_12122025_10_37_05_10776.jpg', 2), ('/home/nano/Desktop/images/12122025/10/36/image_12122025_10_36_54_9743.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:38:02.973522 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/37/image_12122025_10_37_45_10675.jpg', 2), ('/home/nano/Desktop/images/12122025/10/37/image_12122025_10_37_34_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/10/37/image_12122025_10_37_25_9662.jpg', 2), ('/home/nano/Desktop/images/12122025/10/37/image_12122025_10_37_15_9796.jpg', 2), ('/home/nano/Desktop/images/12122025/10/36/image_12122025_10_37_05_10776.jpg', 2), ('/home/nano/Desktop/images/12122025/10/36/image_12122025_10_36_54_9743.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:38:32.466586 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/38/image_12122025_10_38_45_10662.jpg', 2), ('/home/nano/Desktop/images/12122025/10/38/image_12122025_10_38_34_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/10/38/image_12122025_10_38_25_9634.jpg', 2), ('/home/nano/Desktop/images/12122025/10/38/image_12122025_10_38_15_10685.jpg', 2), ('/home/nano/Desktop/images/12122025/10/37/image_12122025_10_38_04_9658.jpg', 2), ('/home/nano/Desktop/images/12122025/10/37/image_12122025_10_37_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:39:03.551220 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/39/image_12122025_10_39_25_9671.jpg', 2), ('/home/nano/Desktop/images/12122025/10/38/image_12122025_10_38_45_10662.jpg', 2), ('/home/nano/Desktop/images/12122025/10/38/image_12122025_10_38_34_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/10/38/image_12122025_10_38_25_9634.jpg', 2), ('/home/nano/Desktop/images/12122025/10/38/image_12122025_10_38_15_10685.jpg', 2), ('/home/nano/Desktop/images/12122025/10/37/image_12122025_10_38_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:39:32.596872 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/39/image_12122025_10_39_45_10641.jpg', 2), ('/home/nano/Desktop/images/12122025/10/39/image_12122025_10_39_34_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/10/39/image_12122025_10_39_25_9671.jpg', 2), ('/home/nano/Desktop/images/12122025/10/39/image_12122025_10_39_15_10762.jpg', 2), ('/home/nano/Desktop/images/12122025/10/38/image_12122025_10_39_04_9656.jpg', 2), ('/home/nano/Desktop/images/12122025/10/38/image_12122025_10_38_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:40:03.181679 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/39/image_12122025_10_39_45_10641.jpg', 2), ('/home/nano/Desktop/images/12122025/10/39/image_12122025_10_39_34_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/10/39/image_12122025_10_39_25_9671.jpg', 2), ('/home/nano/Desktop/images/12122025/10/39/image_12122025_10_39_15_10762.jpg', 2), ('/home/nano/Desktop/images/12122025/10/38/image_12122025_10_39_04_9656.jpg', 2), ('/home/nano/Desktop/images/12122025/10/38/image_12122025_10_38_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:40:32.624915 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/40/image_12122025_10_40_45_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/10/40/image_12122025_10_40_35_10623.jpg', 2), ('/home/nano/Desktop/images/12122025/10/40/image_12122025_10_40_24_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/10/40/image_12122025_10_40_15_10667.jpg', 2), ('/home/nano/Desktop/images/12122025/10/39/image_12122025_10_40_04_9656.jpg', 2), ('/home/nano/Desktop/images/12122025/10/39/image_12122025_10_39_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:41:03.344817 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/40/image_12122025_10_40_45_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/10/40/image_12122025_10_40_35_10623.jpg', 2), ('/home/nano/Desktop/images/12122025/10/40/image_12122025_10_40_24_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/10/40/image_12122025_10_40_15_10667.jpg', 2), ('/home/nano/Desktop/images/12122025/10/39/image_12122025_10_40_04_9656.jpg', 2), ('/home/nano/Desktop/images/12122025/10/39/image_12122025_10_39_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:41:32.736369 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/41/image_12122025_10_41_44_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/10/41/image_12122025_10_41_35_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/10/41/image_12122025_10_41_24_9634.jpg', 2), ('/home/nano/Desktop/images/12122025/10/41/image_12122025_10_41_15_9671.jpg', 2), ('/home/nano/Desktop/images/12122025/10/40/image_12122025_10_41_05_10623.jpg', 2), ('/home/nano/Desktop/images/12122025/10/40/image_12122025_10_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:42:02.431876 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/41/image_12122025_10_41_44_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/10/41/image_12122025_10_41_35_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/10/41/image_12122025_10_41_24_9634.jpg', 2), ('/home/nano/Desktop/images/12122025/10/41/image_12122025_10_41_15_9671.jpg', 2), ('/home/nano/Desktop/images/12122025/10/40/image_12122025_10_41_05_10623.jpg', 2), ('/home/nano/Desktop/images/12122025/10/40/image_12122025_10_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:42:31.911650 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/42/image_12122025_10_42_44_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/10/42/image_12122025_10_42_35_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/10/42/image_12122025_10_42_25_10639.jpg', 2), ('/home/nano/Desktop/images/12122025/10/42/image_12122025_10_42_14_9663.jpg', 2), ('/home/nano/Desktop/images/12122025/10/41/image_12122025_10_42_05_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/10/41/image_12122025_10_41_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:43:02.713544 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/42/image_12122025_10_42_44_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/10/42/image_12122025_10_42_35_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/10/42/image_12122025_10_42_25_10639.jpg', 2), ('/home/nano/Desktop/images/12122025/10/42/image_12122025_10_42_14_9663.jpg', 2), ('/home/nano/Desktop/images/12122025/10/41/image_12122025_10_42_05_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/10/41/image_12122025_10_41_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:43:31.964074 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/43/image_12122025_10_43_45_10662.jpg', 2), ('/home/nano/Desktop/images/12122025/10/43/image_12122025_10_43_34_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/10/43/image_12122025_10_43_25_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/10/43/image_12122025_10_43_15_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/10/42/image_12122025_10_43_04_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/10/42/image_12122025_10_42_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:44:02.950720 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/43/image_12122025_10_43_45_10662.jpg', 2), ('/home/nano/Desktop/images/12122025/10/43/image_12122025_10_43_34_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/10/43/image_12122025_10_43_25_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/10/43/image_12122025_10_43_15_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/10/42/image_12122025_10_43_04_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/10/42/image_12122025_10_42_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:44:32.138521 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/44/image_12122025_10_44_45_10624.jpg', 2), ('/home/nano/Desktop/images/12122025/10/44/image_12122025_10_44_34_9667.jpg', 2), ('/home/nano/Desktop/images/12122025/10/44/image_12122025_10_44_25_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/10/44/image_12122025_10_44_15_10668.jpg', 2), ('/home/nano/Desktop/images/12122025/10/43/image_12122025_10_44_04_9676.jpg', 2), ('/home/nano/Desktop/images/12122025/10/43/image_12122025_10_43_55_9670.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:45:02.983780 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/44/image_12122025_10_44_45_10624.jpg', 2), ('/home/nano/Desktop/images/12122025/10/44/image_12122025_10_44_34_9667.jpg', 2), ('/home/nano/Desktop/images/12122025/10/44/image_12122025_10_44_25_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/10/44/image_12122025_10_44_15_10668.jpg', 2), ('/home/nano/Desktop/images/12122025/10/43/image_12122025_10_44_04_9676.jpg', 2), ('/home/nano/Desktop/images/12122025/10/43/image_12122025_10_43_55_9670.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:45:32.275498 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/45/image_12122025_10_45_45_9663.jpg', 2), ('/home/nano/Desktop/images/12122025/10/45/image_12122025_10_45_35_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/10/45/image_12122025_10_45_24_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/10/45/image_12122025_10_45_15_10661.jpg', 2), ('/home/nano/Desktop/images/12122025/10/44/image_12122025_10_45_04_9650.jpg', 2), ('/home/nano/Desktop/images/12122025/10/44/image_12122025_10_44_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:46:02.938734 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/45/image_12122025_10_45_45_9663.jpg', 2), ('/home/nano/Desktop/images/12122025/10/45/image_12122025_10_45_35_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/10/45/image_12122025_10_45_24_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/10/45/image_12122025_10_45_15_10661.jpg', 2), ('/home/nano/Desktop/images/12122025/10/44/image_12122025_10_45_04_9650.jpg', 2), ('/home/nano/Desktop/images/12122025/10/44/image_12122025_10_44_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:46:32.397867 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/46/image_12122025_10_46_44_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/10/46/image_12122025_10_46_35_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/10/46/image_12122025_10_46_24_9611.jpg', 2), ('/home/nano/Desktop/images/12122025/10/46/image_12122025_10_46_15_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/10/45/image_12122025_10_46_05_10640.jpg', 2), ('/home/nano/Desktop/images/12122025/10/45/image_12122025_10_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:47:03.233573 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/46/image_12122025_10_46_44_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/10/46/image_12122025_10_46_35_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/10/46/image_12122025_10_46_24_9611.jpg', 2), ('/home/nano/Desktop/images/12122025/10/46/image_12122025_10_46_15_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/10/45/image_12122025_10_46_05_10640.jpg', 2), ('/home/nano/Desktop/images/12122025/10/45/image_12122025_10_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:47:32.439252 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/47/image_12122025_10_47_44_9634.jpg', 2), ('/home/nano/Desktop/images/12122025/10/47/image_12122025_10_47_35_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/10/47/image_12122025_10_47_25_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/10/47/image_12122025_10_47_14_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/10/46/image_12122025_10_47_05_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/10/46/image_12122025_10_46_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:48:03.047892 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/47/image_12122025_10_47_44_9634.jpg', 2), ('/home/nano/Desktop/images/12122025/10/47/image_12122025_10_47_35_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/10/47/image_12122025_10_47_25_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/10/47/image_12122025_10_47_14_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/10/46/image_12122025_10_47_05_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/10/46/image_12122025_10_46_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:48:32.563633 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/48/image_12122025_10_48_45_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/10/48/image_12122025_10_48_34_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/10/48/image_12122025_10_48_25_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/10/48/image_12122025_10_48_15_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/10/47/image_12122025_10_48_04_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/10/47/image_12122025_10_47_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:49:03.741832 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/48/image_12122025_10_48_45_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/10/48/image_12122025_10_48_34_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/10/48/image_12122025_10_48_25_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/10/48/image_12122025_10_48_15_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/10/47/image_12122025_10_48_04_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/10/47/image_12122025_10_47_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:49:32.641637 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/49/image_12122025_10_49_45_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/10/49/image_12122025_10_49_35_10616.jpg', 2), ('/home/nano/Desktop/images/12122025/10/49/image_12122025_10_49_24_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/10/49/image_12122025_10_49_15_10626.jpg', 2), ('/home/nano/Desktop/images/12122025/10/48/image_12122025_10_49_04_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/10/48/image_12122025_10_48_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:50:03.387678 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/49/image_12122025_10_49_45_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/10/49/image_12122025_10_49_35_10616.jpg', 2), ('/home/nano/Desktop/images/12122025/10/49/image_12122025_10_49_24_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/10/49/image_12122025_10_49_15_10626.jpg', 2), ('/home/nano/Desktop/images/12122025/10/48/image_12122025_10_49_04_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/10/48/image_12122025_10_48_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:50:32.748815 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/50/image_12122025_10_50_44_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/10/50/image_12122025_10_50_35_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/10/50/image_12122025_10_50_24_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/10/50/image_12122025_10_50_14_9632.jpg', 2), ('/home/nano/Desktop/images/12122025/10/49/image_12122025_10_50_05_10656.jpg', 2), ('/home/nano/Desktop/images/12122025/10/49/image_12122025_10_49_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:51:02.538405 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/50/image_12122025_10_50_44_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/10/50/image_12122025_10_50_35_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/10/50/image_12122025_10_50_24_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/10/50/image_12122025_10_50_14_9632.jpg', 2), ('/home/nano/Desktop/images/12122025/10/49/image_12122025_10_50_05_10656.jpg', 2), ('/home/nano/Desktop/images/12122025/10/49/image_12122025_10_49_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:51:31.830890 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/51/image_12122025_10_51_45_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/10/51/image_12122025_10_51_34_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/10/51/image_12122025_10_51_25_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/10/51/image_12122025_10_51_14_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/10/50/image_12122025_10_51_05_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/10/50/image_12122025_10_50_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:52:02.473882 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/51/image_12122025_10_51_45_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/10/51/image_12122025_10_51_34_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/10/51/image_12122025_10_51_25_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/10/51/image_12122025_10_51_14_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/10/50/image_12122025_10_51_05_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/10/50/image_12122025_10_50_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:52:31.967021 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/52/image_12122025_10_52_45_10618.jpg', 2), ('/home/nano/Desktop/images/12122025/10/52/image_12122025_10_52_34_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/10/52/image_12122025_10_52_25_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/10/52/image_12122025_10_52_15_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/10/51/image_12122025_10_52_04_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/10/51/image_12122025_10_51_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:53:02.708480 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/52/image_12122025_10_52_45_10618.jpg', 2), ('/home/nano/Desktop/images/12122025/10/52/image_12122025_10_52_34_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/10/52/image_12122025_10_52_25_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/10/52/image_12122025_10_52_15_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/10/51/image_12122025_10_52_04_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/10/51/image_12122025_10_51_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:53:32.029956 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/53/image_12122025_10_53_44_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/10/53/image_12122025_10_53_35_10618.jpg', 2), ('/home/nano/Desktop/images/12122025/10/53/image_12122025_10_53_24_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/10/52/image_12122025_10_53_05_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/10/52/image_12122025_10_52_54_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/10/52/image_12122025_10_52_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:54:02.879941 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/53/image_12122025_10_53_44_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/10/53/image_12122025_10_53_35_10618.jpg', 2), ('/home/nano/Desktop/images/12122025/10/53/image_12122025_10_53_24_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/10/52/image_12122025_10_53_05_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/10/52/image_12122025_10_52_54_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/10/52/image_12122025_10_52_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:54:32.163487 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/54/image_12122025_10_54_44_9632.jpg', 2), ('/home/nano/Desktop/images/12122025/10/54/image_12122025_10_54_35_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/10/54/image_12122025_10_54_25_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/10/54/image_12122025_10_54_14_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/10/53/image_12122025_10_54_05_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/10/53/image_12122025_10_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:55:03.048686 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/54/image_12122025_10_54_44_9632.jpg', 2), ('/home/nano/Desktop/images/12122025/10/54/image_12122025_10_54_35_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/10/54/image_12122025_10_54_25_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/10/54/image_12122025_10_54_14_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/10/53/image_12122025_10_54_05_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/10/53/image_12122025_10_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:55:32.229368 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/55/image_12122025_10_55_45_10623.jpg', 2), ('/home/nano/Desktop/images/12122025/10/55/image_12122025_10_55_34_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/10/55/image_12122025_10_55_25_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/10/55/image_12122025_10_55_14_9646.jpg', 2), ('/home/nano/Desktop/images/12122025/10/54/image_12122025_10_55_04_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/10/54/image_12122025_10_54_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:56:02.759503 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/55/image_12122025_10_55_45_10623.jpg', 2), ('/home/nano/Desktop/images/12122025/10/55/image_12122025_10_55_34_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/10/55/image_12122025_10_55_25_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/10/55/image_12122025_10_55_14_9646.jpg', 2), ('/home/nano/Desktop/images/12122025/10/54/image_12122025_10_55_04_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/10/54/image_12122025_10_54_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:56:32.404869 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/56/image_12122025_10_56_35_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/10/56/image_12122025_10_56_24_9611.jpg', 2), ('/home/nano/Desktop/images/12122025/10/56/image_12122025_10_56_15_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/10/55/image_12122025_10_56_04_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/10/55/image_12122025_10_55_55_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/10/55/image_12122025_10_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:57:03.110876 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/57/image_12122025_10_57_44_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/10/56/image_12122025_10_56_35_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/10/56/image_12122025_10_56_24_9611.jpg', 2), ('/home/nano/Desktop/images/12122025/10/56/image_12122025_10_56_15_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/10/55/image_12122025_10_56_04_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/10/55/image_12122025_10_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:57:32.427117 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/57/image_12122025_10_57_44_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/10/57/image_12122025_10_57_35_10616.jpg', 2), ('/home/nano/Desktop/images/12122025/10/57/image_12122025_10_57_24_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/10/57/image_12122025_10_57_15_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/10/56/image_12122025_10_57_05_10619.jpg', 2), ('/home/nano/Desktop/images/12122025/10/56/image_12122025_10_56_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:58:02.919424 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/57/image_12122025_10_57_44_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/10/57/image_12122025_10_57_35_10616.jpg', 2), ('/home/nano/Desktop/images/12122025/10/57/image_12122025_10_57_24_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/10/57/image_12122025_10_57_15_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/10/56/image_12122025_10_57_05_10619.jpg', 2), ('/home/nano/Desktop/images/12122025/10/56/image_12122025_10_56_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:59:03.379795 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/57/image_12122025_10_57_44_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/10/57/image_12122025_10_57_35_10616.jpg', 2), ('/home/nano/Desktop/images/12122025/10/57/image_12122025_10_57_24_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/10/57/image_12122025_10_57_15_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/10/56/image_12122025_10_57_05_10619.jpg', 2), ('/home/nano/Desktop/images/12122025/10/56/image_12122025_10_56_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 10:59:32.444709 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/59/image_12122025_10_59_45_10618.jpg', 2), ('/home/nano/Desktop/images/12122025/10/59/image_12122025_10_59_34_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/10/59/image_12122025_10_59_25_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/10/59/image_12122025_10_59_15_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/10/58/image_12122025_10_59_04_9616.jpg', 2), ('/home/nano/Desktop/images/12122025/10/58/image_12122025_10_58_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:00:02.898114 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/10/59/image_12122025_10_59_45_10618.jpg', 2), ('/home/nano/Desktop/images/12122025/10/59/image_12122025_10_59_34_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/10/59/image_12122025_10_59_25_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/10/59/image_12122025_10_59_15_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/10/58/image_12122025_10_59_04_9616.jpg', 2), ('/home/nano/Desktop/images/12122025/10/58/image_12122025_10_58_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:00:32.532776 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/00/image_12122025_11_00_44_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/11/00/image_12122025_11_00_35_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/11/00/image_12122025_11_00_24_9611.jpg', 2), ('/home/nano/Desktop/images/12122025/10/59/image_12122025_11_00_05_10640.jpg', 2), ('/home/nano/Desktop/images/12122025/10/59/image_12122025_10_59_54_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/10/59/image_12122025_10_59_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:01:03.390283 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/00/image_12122025_11_00_44_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/11/00/image_12122025_11_00_35_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/11/00/image_12122025_11_00_24_9611.jpg', 2), ('/home/nano/Desktop/images/12122025/10/59/image_12122025_11_00_05_10640.jpg', 2), ('/home/nano/Desktop/images/12122025/10/59/image_12122025_10_59_54_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/10/59/image_12122025_10_59_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:01:32.658976 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/01/image_12122025_11_01_44_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/11/01/image_12122025_11_01_25_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/11/00/image_12122025_11_01_05_10639.jpg', 2), ('/home/nano/Desktop/images/12122025/11/00/image_12122025_11_00_54_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/11/00/image_12122025_11_00_44_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/11/00/image_12122025_11_00_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:02:02.195807 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/01/image_12122025_11_01_44_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/11/01/image_12122025_11_01_25_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/11/00/image_12122025_11_01_05_10639.jpg', 2), ('/home/nano/Desktop/images/12122025/11/00/image_12122025_11_00_54_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/11/00/image_12122025_11_00_44_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/11/00/image_12122025_11_00_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:02:31.860734 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/02/image_12122025_11_02_45_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/11/02/image_12122025_11_02_34_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/11/02/image_12122025_11_02_25_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/11/02/image_12122025_11_02_15_10626.jpg', 2), ('/home/nano/Desktop/images/12122025/11/01/image_12122025_11_01_55_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/11/01/image_12122025_11_01_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:03:02.732873 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/02/image_12122025_11_02_45_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/11/02/image_12122025_11_02_34_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/11/02/image_12122025_11_02_25_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/11/02/image_12122025_11_02_15_10626.jpg', 2), ('/home/nano/Desktop/images/12122025/11/01/image_12122025_11_01_55_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/11/01/image_12122025_11_01_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:03:31.923737 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/03/image_12122025_11_03_45_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/11/03/image_12122025_11_03_35_10620.jpg', 2), ('/home/nano/Desktop/images/12122025/11/03/image_12122025_11_03_24_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/11/03/image_12122025_11_03_15_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/11/02/image_12122025_11_03_05_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/11/02/image_12122025_11_02_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:04:02.824545 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/03/image_12122025_11_03_45_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/11/03/image_12122025_11_03_35_10620.jpg', 2), ('/home/nano/Desktop/images/12122025/11/03/image_12122025_11_03_24_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/11/03/image_12122025_11_03_15_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/11/02/image_12122025_11_03_05_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/11/02/image_12122025_11_02_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:04:32.016704 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/04/image_12122025_11_04_44_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/11/04/image_12122025_11_04_35_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/11/04/image_12122025_11_04_25_10619.jpg', 2), ('/home/nano/Desktop/images/12122025/11/04/image_12122025_11_04_14_9631.jpg', 2), ('/home/nano/Desktop/images/12122025/11/03/image_12122025_11_04_05_10619.jpg', 2), ('/home/nano/Desktop/images/12122025/11/03/image_12122025_11_03_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:05:02.842251 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/04/image_12122025_11_04_44_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/11/04/image_12122025_11_04_35_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/11/04/image_12122025_11_04_25_10619.jpg', 2), ('/home/nano/Desktop/images/12122025/11/04/image_12122025_11_04_14_9631.jpg', 2), ('/home/nano/Desktop/images/12122025/11/03/image_12122025_11_04_05_10619.jpg', 2), ('/home/nano/Desktop/images/12122025/11/03/image_12122025_11_03_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:05:32.147969 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/05/image_12122025_11_05_34_9616.jpg', 2), ('/home/nano/Desktop/images/12122025/11/05/image_12122025_11_05_25_10620.jpg', 2), ('/home/nano/Desktop/images/12122025/11/05/image_12122025_11_05_14_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/11/04/image_12122025_11_04_55_10620.jpg', 2), ('/home/nano/Desktop/images/12122025/11/04/image_12122025_11_04_44_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/11/04/image_12122025_11_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:06:02.769621 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/05/image_12122025_11_05_34_9616.jpg', 2), ('/home/nano/Desktop/images/12122025/11/05/image_12122025_11_05_25_10620.jpg', 2), ('/home/nano/Desktop/images/12122025/11/05/image_12122025_11_05_14_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/11/04/image_12122025_11_04_55_10620.jpg', 2), ('/home/nano/Desktop/images/12122025/11/04/image_12122025_11_04_44_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/11/04/image_12122025_11_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:06:32.258306 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/06/image_12122025_11_06_54_9611.jpg', 2), ('/home/nano/Desktop/images/12122025/11/06/image_12122025_11_06_35_10616.jpg', 2), ('/home/nano/Desktop/images/12122025/11/06/image_12122025_11_06_24_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/11/06/image_12122025_11_06_15_10637.jpg', 2), ('/home/nano/Desktop/images/12122025/11/05/image_12122025_11_05_45_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/11/05/image_12122025_11_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:07:02.981891 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/06/image_12122025_11_06_54_9611.jpg', 2), ('/home/nano/Desktop/images/12122025/11/06/image_12122025_11_06_35_10616.jpg', 2), ('/home/nano/Desktop/images/12122025/11/06/image_12122025_11_06_24_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/11/06/image_12122025_11_06_15_10637.jpg', 2), ('/home/nano/Desktop/images/12122025/11/05/image_12122025_11_05_45_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/11/05/image_12122025_11_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:07:32.353555 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/07/image_12122025_11_07_44_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/11/07/image_12122025_11_07_35_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/11/07/image_12122025_11_07_24_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/11/07/image_12122025_11_07_15_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/11/06/image_12122025_11_07_05_10622.jpg', 2), ('/home/nano/Desktop/images/12122025/11/06/image_12122025_11_06_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:08:03.028119 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/07/image_12122025_11_07_44_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/11/07/image_12122025_11_07_35_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/11/07/image_12122025_11_07_24_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/11/07/image_12122025_11_07_15_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/11/06/image_12122025_11_07_05_10622.jpg', 2), ('/home/nano/Desktop/images/12122025/11/06/image_12122025_11_06_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:08:32.467473 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/08/image_12122025_11_08_45_10622.jpg', 2), ('/home/nano/Desktop/images/12122025/11/08/image_12122025_11_08_34_9616.jpg', 2), ('/home/nano/Desktop/images/12122025/11/08/image_12122025_11_08_25_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/11/08/image_12122025_11_08_14_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/11/07/image_12122025_11_08_05_9641.jpg', 2), ('/home/nano/Desktop/images/12122025/11/07/image_12122025_11_07_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:09:03.772171 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/08/image_12122025_11_08_45_10622.jpg', 2), ('/home/nano/Desktop/images/12122025/11/08/image_12122025_11_08_34_9616.jpg', 2), ('/home/nano/Desktop/images/12122025/11/08/image_12122025_11_08_25_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/11/08/image_12122025_11_08_14_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/11/07/image_12122025_11_08_05_9641.jpg', 2), ('/home/nano/Desktop/images/12122025/11/07/image_12122025_11_07_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:09:32.565912 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/09/image_12122025_11_09_45_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/11/09/image_12122025_11_09_34_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/11/09/image_12122025_11_09_15_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/11/08/image_12122025_11_09_04_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/11/08/image_12122025_11_08_55_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/11/08/image_12122025_11_08_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:10:03.218725 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/09/image_12122025_11_09_45_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/11/09/image_12122025_11_09_34_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/11/09/image_12122025_11_09_15_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/11/08/image_12122025_11_09_04_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/11/08/image_12122025_11_08_55_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/11/08/image_12122025_11_08_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:10:32.678134 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/10/image_12122025_11_10_44_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/11/10/image_12122025_11_10_35_10617.jpg', 2), ('/home/nano/Desktop/images/12122025/11/10/image_12122025_11_10_24_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/11/09/image_12122025_11_10_05_10640.jpg', 2), ('/home/nano/Desktop/images/12122025/11/09/image_12122025_11_09_54_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/11/09/image_12122025_11_09_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:11:02.406480 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/10/image_12122025_11_10_44_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/11/10/image_12122025_11_10_35_10617.jpg', 2), ('/home/nano/Desktop/images/12122025/11/10/image_12122025_11_10_24_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/11/09/image_12122025_11_10_05_10640.jpg', 2), ('/home/nano/Desktop/images/12122025/11/09/image_12122025_11_09_54_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/11/09/image_12122025_11_09_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:11:31.777740 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/11/image_12122025_11_11_44_9614.jpg', 2), ('/home/nano/Desktop/images/12122025/11/11/image_12122025_11_11_35_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/11/11/image_12122025_11_11_25_10616.jpg', 2), ('/home/nano/Desktop/images/12122025/11/11/image_12122025_11_11_14_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/11/10/image_12122025_11_11_05_10641.jpg', 2), ('/home/nano/Desktop/images/12122025/11/10/image_12122025_11_10_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:12:02.530794 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/11/image_12122025_11_11_44_9614.jpg', 2), ('/home/nano/Desktop/images/12122025/11/11/image_12122025_11_11_35_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/11/11/image_12122025_11_11_25_10616.jpg', 2), ('/home/nano/Desktop/images/12122025/11/11/image_12122025_11_11_14_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/11/10/image_12122025_11_11_05_10641.jpg', 2), ('/home/nano/Desktop/images/12122025/11/10/image_12122025_11_10_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:12:31.883187 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/12/image_12122025_11_12_45_10624.jpg', 2), ('/home/nano/Desktop/images/12122025/11/12/image_12122025_11_12_34_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/11/12/image_12122025_11_12_25_10641.jpg', 2), ('/home/nano/Desktop/images/12122025/11/12/image_12122025_11_12_14_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/11/11/image_12122025_11_12_04_9633.jpg', 2), ('/home/nano/Desktop/images/12122025/11/11/image_12122025_11_11_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:13:02.680925 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/12/image_12122025_11_12_45_10624.jpg', 2), ('/home/nano/Desktop/images/12122025/11/12/image_12122025_11_12_34_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/11/12/image_12122025_11_12_25_10641.jpg', 2), ('/home/nano/Desktop/images/12122025/11/12/image_12122025_11_12_14_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/11/11/image_12122025_11_12_04_9633.jpg', 2), ('/home/nano/Desktop/images/12122025/11/11/image_12122025_11_11_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:13:31.972280 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/13/image_12122025_11_13_45_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/11/13/image_12122025_11_13_34_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/11/13/image_12122025_11_13_24_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/11/13/image_12122025_11_13_15_10642.jpg', 2), ('/home/nano/Desktop/images/12122025/11/12/image_12122025_11_13_04_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/11/12/image_12122025_11_12_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:14:02.834706 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/13/image_12122025_11_13_45_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/11/13/image_12122025_11_13_34_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/11/13/image_12122025_11_13_24_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/11/13/image_12122025_11_13_15_10642.jpg', 2), ('/home/nano/Desktop/images/12122025/11/12/image_12122025_11_13_04_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/11/12/image_12122025_11_12_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:14:32.116547 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/14/image_12122025_11_14_45_9697.jpg', 2), ('/home/nano/Desktop/images/12122025/11/14/image_12122025_11_14_35_10673.jpg', 2), ('/home/nano/Desktop/images/12122025/11/14/image_12122025_11_14_24_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/11/14/image_12122025_11_14_15_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/11/13/image_12122025_11_14_05_10724.jpg', 2), ('/home/nano/Desktop/images/12122025/11/13/image_12122025_11_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:15:02.735137 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/14/image_12122025_11_14_45_9697.jpg', 2), ('/home/nano/Desktop/images/12122025/11/14/image_12122025_11_14_35_10673.jpg', 2), ('/home/nano/Desktop/images/12122025/11/14/image_12122025_11_14_24_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/11/14/image_12122025_11_14_15_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/11/13/image_12122025_11_14_05_10724.jpg', 2), ('/home/nano/Desktop/images/12122025/11/13/image_12122025_11_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:15:32.180042 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/15/image_12122025_11_15_45_9632.jpg', 2), ('/home/nano/Desktop/images/12122025/11/15/image_12122025_11_15_35_10642.jpg', 2), ('/home/nano/Desktop/images/12122025/11/15/image_12122025_11_15_24_9671.jpg', 2), ('/home/nano/Desktop/images/12122025/11/14/image_12122025_11_15_05_10650.jpg', 2), ('/home/nano/Desktop/images/12122025/11/14/image_12122025_11_14_54_9700.jpg', 2), ('/home/nano/Desktop/images/12122025/11/14/image_12122025_11_14_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:16:02.951207 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/15/image_12122025_11_15_45_9632.jpg', 2), ('/home/nano/Desktop/images/12122025/11/15/image_12122025_11_15_35_10642.jpg', 2), ('/home/nano/Desktop/images/12122025/11/15/image_12122025_11_15_24_9671.jpg', 2), ('/home/nano/Desktop/images/12122025/11/14/image_12122025_11_15_05_10650.jpg', 2), ('/home/nano/Desktop/images/12122025/11/14/image_12122025_11_14_54_9700.jpg', 2), ('/home/nano/Desktop/images/12122025/11/14/image_12122025_11_14_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:16:32.367037 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/16/image_12122025_11_16_44_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/11/16/image_12122025_11_16_35_10621.jpg', 2), ('/home/nano/Desktop/images/12122025/11/16/image_12122025_11_16_24_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/11/16/image_12122025_11_16_15_9665.jpg', 2), ('/home/nano/Desktop/images/12122025/11/15/image_12122025_11_16_05_10660.jpg', 2), ('/home/nano/Desktop/images/12122025/11/15/image_12122025_11_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:17:03.269733 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/16/image_12122025_11_16_44_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/11/16/image_12122025_11_16_35_10621.jpg', 2), ('/home/nano/Desktop/images/12122025/11/16/image_12122025_11_16_24_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/11/16/image_12122025_11_16_15_9665.jpg', 2), ('/home/nano/Desktop/images/12122025/11/15/image_12122025_11_16_05_10660.jpg', 2), ('/home/nano/Desktop/images/12122025/11/15/image_12122025_11_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:17:32.501609 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/17/image_12122025_11_17_44_9648.jpg', 2), ('/home/nano/Desktop/images/12122025/11/17/image_12122025_11_17_35_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/11/17/image_12122025_11_17_25_10623.jpg', 2), ('/home/nano/Desktop/images/12122025/11/17/image_12122025_11_17_14_9656.jpg', 2), ('/home/nano/Desktop/images/12122025/11/16/image_12122025_11_17_05_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/11/16/image_12122025_11_16_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:18:03.017778 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/17/image_12122025_11_17_44_9648.jpg', 2), ('/home/nano/Desktop/images/12122025/11/17/image_12122025_11_17_35_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/11/17/image_12122025_11_17_25_10623.jpg', 2), ('/home/nano/Desktop/images/12122025/11/17/image_12122025_11_17_14_9656.jpg', 2), ('/home/nano/Desktop/images/12122025/11/16/image_12122025_11_17_05_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/11/16/image_12122025_11_16_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:18:32.584017 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/18/image_12122025_11_18_45_10625.jpg', 2), ('/home/nano/Desktop/images/12122025/11/18/image_12122025_11_18_34_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/11/18/image_12122025_11_18_25_10623.jpg', 2), ('/home/nano/Desktop/images/12122025/11/18/image_12122025_11_18_14_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/11/17/image_12122025_11_18_04_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/11/17/image_12122025_11_17_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:19:03.823501 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/18/image_12122025_11_18_45_10625.jpg', 2), ('/home/nano/Desktop/images/12122025/11/18/image_12122025_11_18_34_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/11/18/image_12122025_11_18_25_10623.jpg', 2), ('/home/nano/Desktop/images/12122025/11/18/image_12122025_11_18_14_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/11/17/image_12122025_11_18_04_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/11/17/image_12122025_11_17_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:19:32.701955 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/19/image_12122025_11_19_45_10752.jpg', 2), ('/home/nano/Desktop/images/12122025/11/19/image_12122025_11_19_34_9723.jpg', 2), ('/home/nano/Desktop/images/12122025/11/19/image_12122025_11_19_25_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/11/19/image_12122025_11_19_15_10665.jpg', 2), ('/home/nano/Desktop/images/12122025/11/18/image_12122025_11_19_04_9649.jpg', 2), ('/home/nano/Desktop/images/12122025/11/18/image_12122025_11_18_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:20:02.443839 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/19/image_12122025_11_19_45_10752.jpg', 2), ('/home/nano/Desktop/images/12122025/11/19/image_12122025_11_19_34_9723.jpg', 2), ('/home/nano/Desktop/images/12122025/11/19/image_12122025_11_19_25_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/11/19/image_12122025_11_19_15_10665.jpg', 2), ('/home/nano/Desktop/images/12122025/11/18/image_12122025_11_19_04_9649.jpg', 2), ('/home/nano/Desktop/images/12122025/11/18/image_12122025_11_18_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:20:31.959376 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/20/image_12122025_11_20_44_9710.jpg', 2), ('/home/nano/Desktop/images/12122025/11/20/image_12122025_11_20_35_9713.jpg', 2), ('/home/nano/Desktop/images/12122025/11/20/image_12122025_11_20_25_10639.jpg', 2), ('/home/nano/Desktop/images/12122025/11/20/image_12122025_11_20_14_9696.jpg', 2), ('/home/nano/Desktop/images/12122025/11/19/image_12122025_11_20_04_9741.jpg', 2), ('/home/nano/Desktop/images/12122025/11/19/image_12122025_11_19_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:21:02.597544 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/20/image_12122025_11_20_44_9710.jpg', 2), ('/home/nano/Desktop/images/12122025/11/20/image_12122025_11_20_35_9713.jpg', 2), ('/home/nano/Desktop/images/12122025/11/20/image_12122025_11_20_25_10639.jpg', 2), ('/home/nano/Desktop/images/12122025/11/20/image_12122025_11_20_14_9696.jpg', 2), ('/home/nano/Desktop/images/12122025/11/19/image_12122025_11_20_04_9741.jpg', 2), ('/home/nano/Desktop/images/12122025/11/19/image_12122025_11_19_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:21:31.953575 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/21/image_12122025_11_21_44_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/11/21/image_12122025_11_21_35_9717.jpg', 2), ('/home/nano/Desktop/images/12122025/11/21/image_12122025_11_21_25_10729.jpg', 2), ('/home/nano/Desktop/images/12122025/11/21/image_12122025_11_21_14_9719.jpg', 2), ('/home/nano/Desktop/images/12122025/11/20/image_12122025_11_21_05_9717.jpg', 2), ('/home/nano/Desktop/images/12122025/11/20/image_12122025_11_20_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:22:02.650814 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/21/image_12122025_11_21_44_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/11/21/image_12122025_11_21_35_9717.jpg', 2), ('/home/nano/Desktop/images/12122025/11/21/image_12122025_11_21_25_10729.jpg', 2), ('/home/nano/Desktop/images/12122025/11/21/image_12122025_11_21_14_9719.jpg', 2), ('/home/nano/Desktop/images/12122025/11/20/image_12122025_11_21_05_9717.jpg', 2), ('/home/nano/Desktop/images/12122025/11/20/image_12122025_11_20_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:22:32.094719 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/22/image_12122025_11_22_44_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/11/22/image_12122025_11_22_35_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/11/22/image_12122025_11_22_25_10664.jpg', 2), ('/home/nano/Desktop/images/12122025/11/22/image_12122025_11_22_14_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/11/21/image_12122025_11_22_05_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/11/21/image_12122025_11_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:23:02.806582 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/22/image_12122025_11_22_44_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/11/22/image_12122025_11_22_35_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/11/22/image_12122025_11_22_25_10664.jpg', 2), ('/home/nano/Desktop/images/12122025/11/22/image_12122025_11_22_14_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/11/21/image_12122025_11_22_05_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/11/21/image_12122025_11_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:23:32.173539 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/23/image_12122025_11_23_45_10625.jpg', 2), ('/home/nano/Desktop/images/12122025/11/23/image_12122025_11_23_34_9614.jpg', 2), ('/home/nano/Desktop/images/12122025/11/23/image_12122025_11_23_25_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/11/23/image_12122025_11_23_15_10628.jpg', 2), ('/home/nano/Desktop/images/12122025/11/22/image_12122025_11_23_04_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/11/22/image_12122025_11_22_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:24:03.055015 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/23/image_12122025_11_23_45_10625.jpg', 2), ('/home/nano/Desktop/images/12122025/11/23/image_12122025_11_23_34_9614.jpg', 2), ('/home/nano/Desktop/images/12122025/11/23/image_12122025_11_23_25_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/11/23/image_12122025_11_23_15_10628.jpg', 2), ('/home/nano/Desktop/images/12122025/11/22/image_12122025_11_23_04_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/11/22/image_12122025_11_22_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:24:32.312816 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/24/image_12122025_11_24_45_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/11/24/image_12122025_11_24_35_10616.jpg', 2), ('/home/nano/Desktop/images/12122025/11/24/image_12122025_11_24_24_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/11/24/image_12122025_11_24_15_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/11/23/image_12122025_11_24_05_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/11/23/image_12122025_11_23_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:25:03.040995 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/24/image_12122025_11_24_45_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/11/24/image_12122025_11_24_35_10616.jpg', 2), ('/home/nano/Desktop/images/12122025/11/24/image_12122025_11_24_24_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/11/24/image_12122025_11_24_15_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/11/23/image_12122025_11_24_05_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/11/23/image_12122025_11_23_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:25:32.386583 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/25/image_12122025_11_25_44_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/11/25/image_12122025_11_25_35_9677.jpg', 2), ('/home/nano/Desktop/images/12122025/11/25/image_12122025_11_25_25_10626.jpg', 2), ('/home/nano/Desktop/images/12122025/11/25/image_12122025_11_25_14_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/11/24/image_12122025_11_25_05_10658.jpg', 2), ('/home/nano/Desktop/images/12122025/11/24/image_12122025_11_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:26:02.998576 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/25/image_12122025_11_25_44_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/11/25/image_12122025_11_25_35_9677.jpg', 2), ('/home/nano/Desktop/images/12122025/11/25/image_12122025_11_25_25_10626.jpg', 2), ('/home/nano/Desktop/images/12122025/11/25/image_12122025_11_25_14_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/11/24/image_12122025_11_25_05_10658.jpg', 2), ('/home/nano/Desktop/images/12122025/11/24/image_12122025_11_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:26:32.493408 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/26/image_12122025_11_26_45_10591.jpg', 2), ('/home/nano/Desktop/images/12122025/11/26/image_12122025_11_26_34_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/11/26/image_12122025_11_26_25_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/11/26/image_12122025_11_26_14_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/11/25/image_12122025_11_26_05_9631.jpg', 2), ('/home/nano/Desktop/images/12122025/11/25/image_12122025_11_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:27:03.043667 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/26/image_12122025_11_26_45_10591.jpg', 2), ('/home/nano/Desktop/images/12122025/11/26/image_12122025_11_26_34_9583.jpg', 2), ('/home/nano/Desktop/images/12122025/11/26/image_12122025_11_26_25_10596.jpg', 2), ('/home/nano/Desktop/images/12122025/11/26/image_12122025_11_26_14_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/11/25/image_12122025_11_26_05_9631.jpg', 2), ('/home/nano/Desktop/images/12122025/11/25/image_12122025_11_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:27:32.540565 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/27/image_12122025_11_27_45_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/11/27/image_12122025_11_27_35_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/11/27/image_12122025_11_27_24_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/11/27/image_12122025_11_27_15_10622.jpg', 2), ('/home/nano/Desktop/images/12122025/11/26/image_12122025_11_27_04_9611.jpg', 2), ('/home/nano/Desktop/images/12122025/11/26/image_12122025_11_26_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:28:03.153303 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/27/image_12122025_11_27_45_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/11/27/image_12122025_11_27_35_10598.jpg', 2), ('/home/nano/Desktop/images/12122025/11/27/image_12122025_11_27_24_9584.jpg', 2), ('/home/nano/Desktop/images/12122025/11/27/image_12122025_11_27_15_10622.jpg', 2), ('/home/nano/Desktop/images/12122025/11/26/image_12122025_11_27_04_9611.jpg', 2), ('/home/nano/Desktop/images/12122025/11/26/image_12122025_11_26_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:28:32.675489 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/28/image_12122025_11_28_44_9595.jpg', 2), ('/home/nano/Desktop/images/12122025/11/28/image_12122025_11_28_35_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/11/28/image_12122025_11_28_25_10605.jpg', 2), ('/home/nano/Desktop/images/12122025/11/28/image_12122025_11_28_14_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/11/27/image_12122025_11_28_05_10653.jpg', 2), ('/home/nano/Desktop/images/12122025/11/27/image_12122025_11_27_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:29:02.899419 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/28/image_12122025_11_28_44_9595.jpg', 2), ('/home/nano/Desktop/images/12122025/11/28/image_12122025_11_28_35_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/11/28/image_12122025_11_28_25_10605.jpg', 2), ('/home/nano/Desktop/images/12122025/11/28/image_12122025_11_28_14_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/11/27/image_12122025_11_28_05_10653.jpg', 2), ('/home/nano/Desktop/images/12122025/11/27/image_12122025_11_27_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:29:31.904964 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/29/image_12122025_11_29_45_10606.jpg', 2), ('/home/nano/Desktop/images/12122025/11/29/image_12122025_11_29_34_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/11/29/image_12122025_11_29_25_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/11/29/image_12122025_11_29_15_10643.jpg', 2), ('/home/nano/Desktop/images/12122025/11/28/image_12122025_11_29_04_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/11/28/image_12122025_11_28_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:30:02.404109 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/29/image_12122025_11_29_45_10606.jpg', 2), ('/home/nano/Desktop/images/12122025/11/29/image_12122025_11_29_34_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/11/29/image_12122025_11_29_25_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/11/29/image_12122025_11_29_15_10643.jpg', 2), ('/home/nano/Desktop/images/12122025/11/28/image_12122025_11_29_04_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/11/28/image_12122025_11_28_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:30:31.927776 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/30/image_12122025_11_30_45_9594.jpg', 2), ('/home/nano/Desktop/images/12122025/11/30/image_12122025_11_30_35_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/11/30/image_12122025_11_30_24_9595.jpg', 2), ('/home/nano/Desktop/images/12122025/11/30/image_12122025_11_30_15_10627.jpg', 2), ('/home/nano/Desktop/images/12122025/11/29/image_12122025_11_30_04_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/11/29/image_12122025_11_29_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:31:02.842435 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/30/image_12122025_11_30_45_9594.jpg', 2), ('/home/nano/Desktop/images/12122025/11/30/image_12122025_11_30_35_10597.jpg', 2), ('/home/nano/Desktop/images/12122025/11/30/image_12122025_11_30_24_9595.jpg', 2), ('/home/nano/Desktop/images/12122025/11/30/image_12122025_11_30_15_10627.jpg', 2), ('/home/nano/Desktop/images/12122025/11/29/image_12122025_11_30_04_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/11/29/image_12122025_11_29_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:31:32.019719 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/31/image_12122025_11_31_44_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/11/31/image_12122025_11_31_35_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/11/31/image_12122025_11_31_25_10606.jpg', 2), ('/home/nano/Desktop/images/12122025/11/31/image_12122025_11_31_14_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/11/30/image_12122025_11_31_05_10621.jpg', 2), ('/home/nano/Desktop/images/12122025/11/30/image_12122025_11_30_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:32:02.683685 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/31/image_12122025_11_31_44_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/11/31/image_12122025_11_31_35_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/11/31/image_12122025_11_31_25_10606.jpg', 2), ('/home/nano/Desktop/images/12122025/11/31/image_12122025_11_31_14_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/11/30/image_12122025_11_31_05_10621.jpg', 2), ('/home/nano/Desktop/images/12122025/11/30/image_12122025_11_30_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:32:32.156401 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/32/image_12122025_11_32_34_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/11/32/image_12122025_11_32_25_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/11/31/image_12122025_11_31_55_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/11/31/image_12122025_11_31_44_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/11/31/image_12122025_11_31_35_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/11/31/image_12122025_11_31_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:33:02.992015 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/32/image_12122025_11_32_34_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/11/32/image_12122025_11_32_25_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/11/31/image_12122025_11_31_55_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/11/31/image_12122025_11_31_44_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/11/31/image_12122025_11_31_35_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/11/31/image_12122025_11_31_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:33:32.360920 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/33/image_12122025_11_33_45_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/11/33/image_12122025_11_33_35_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/11/33/image_12122025_11_33_24_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/11/33/image_12122025_11_33_15_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/11/32/image_12122025_11_32_54_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/11/32/image_12122025_11_32_34_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:34:03.074323 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/33/image_12122025_11_33_45_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/11/33/image_12122025_11_33_35_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/11/33/image_12122025_11_33_24_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/11/33/image_12122025_11_33_15_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/11/32/image_12122025_11_32_54_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/11/32/image_12122025_11_32_34_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:34:32.469856 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/34/image_12122025_11_34_44_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/11/34/image_12122025_11_34_35_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/11/34/image_12122025_11_34_25_10607.jpg', 2), ('/home/nano/Desktop/images/12122025/11/34/image_12122025_11_34_14_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/11/33/image_12122025_11_34_05_10639.jpg', 2), ('/home/nano/Desktop/images/12122025/11/33/image_12122025_11_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:35:03.165111 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/34/image_12122025_11_34_44_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/11/34/image_12122025_11_34_35_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/11/34/image_12122025_11_34_25_10607.jpg', 2), ('/home/nano/Desktop/images/12122025/11/34/image_12122025_11_34_14_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/11/33/image_12122025_11_34_05_10639.jpg', 2), ('/home/nano/Desktop/images/12122025/11/33/image_12122025_11_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:35:32.625453 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/35/image_12122025_11_35_45_10623.jpg', 2), ('/home/nano/Desktop/images/12122025/11/35/image_12122025_11_35_34_9614.jpg', 2), ('/home/nano/Desktop/images/12122025/11/35/image_12122025_11_35_25_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/11/35/image_12122025_11_35_15_10621.jpg', 2), ('/home/nano/Desktop/images/12122025/11/34/image_12122025_11_35_04_9594.jpg', 2), ('/home/nano/Desktop/images/12122025/11/34/image_12122025_11_34_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:36:03.203526 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/35/image_12122025_11_35_45_10623.jpg', 2), ('/home/nano/Desktop/images/12122025/11/35/image_12122025_11_35_34_9614.jpg', 2), ('/home/nano/Desktop/images/12122025/11/35/image_12122025_11_35_25_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/11/35/image_12122025_11_35_15_10621.jpg', 2), ('/home/nano/Desktop/images/12122025/11/34/image_12122025_11_35_04_9594.jpg', 2), ('/home/nano/Desktop/images/12122025/11/34/image_12122025_11_34_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:36:32.694620 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/36/image_12122025_11_36_35_10607.jpg', 2), ('/home/nano/Desktop/images/12122025/11/36/image_12122025_11_36_24_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/11/36/image_12122025_11_36_15_10640.jpg', 2), ('/home/nano/Desktop/images/12122025/11/35/image_12122025_11_36_04_9611.jpg', 2), ('/home/nano/Desktop/images/12122025/11/35/image_12122025_11_35_54_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/11/35/image_12122025_11_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:37:02.512725 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/36/image_12122025_11_36_35_10607.jpg', 2), ('/home/nano/Desktop/images/12122025/11/36/image_12122025_11_36_24_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/11/36/image_12122025_11_36_15_10640.jpg', 2), ('/home/nano/Desktop/images/12122025/11/35/image_12122025_11_36_04_9611.jpg', 2), ('/home/nano/Desktop/images/12122025/11/35/image_12122025_11_35_54_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/11/35/image_12122025_11_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:37:31.832574 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/37/image_12122025_11_37_44_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/11/37/image_12122025_11_37_35_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/11/37/image_12122025_11_37_25_10623.jpg', 2), ('/home/nano/Desktop/images/12122025/11/37/image_12122025_11_37_14_9614.jpg', 2), ('/home/nano/Desktop/images/12122025/11/36/image_12122025_11_37_05_10606.jpg', 2), ('/home/nano/Desktop/images/12122025/11/36/image_12122025_11_36_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:38:02.436981 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/37/image_12122025_11_37_44_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/11/37/image_12122025_11_37_35_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/11/37/image_12122025_11_37_25_10623.jpg', 2), ('/home/nano/Desktop/images/12122025/11/37/image_12122025_11_37_14_9614.jpg', 2), ('/home/nano/Desktop/images/12122025/11/36/image_12122025_11_37_05_10606.jpg', 2), ('/home/nano/Desktop/images/12122025/11/36/image_12122025_11_36_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:38:31.871122 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/38/image_12122025_11_38_45_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/11/38/image_12122025_11_38_34_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/11/38/image_12122025_11_38_25_9595.jpg', 2), ('/home/nano/Desktop/images/12122025/11/38/image_12122025_11_38_15_10621.jpg', 2), ('/home/nano/Desktop/images/12122025/11/37/image_12122025_11_38_04_9614.jpg', 2), ('/home/nano/Desktop/images/12122025/11/37/image_12122025_11_37_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:39:02.777117 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/38/image_12122025_11_38_45_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/11/38/image_12122025_11_38_34_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/11/38/image_12122025_11_38_25_9595.jpg', 2), ('/home/nano/Desktop/images/12122025/11/38/image_12122025_11_38_15_10621.jpg', 2), ('/home/nano/Desktop/images/12122025/11/37/image_12122025_11_38_04_9614.jpg', 2), ('/home/nano/Desktop/images/12122025/11/37/image_12122025_11_37_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:39:31.989495 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/39/image_12122025_11_39_45_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/11/39/image_12122025_11_39_35_10606.jpg', 2), ('/home/nano/Desktop/images/12122025/11/39/image_12122025_11_39_24_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/11/39/image_12122025_11_39_15_10647.jpg', 2), ('/home/nano/Desktop/images/12122025/11/38/image_12122025_11_39_04_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/11/38/image_12122025_11_38_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:40:02.536956 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/39/image_12122025_11_39_45_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/11/39/image_12122025_11_39_35_10606.jpg', 2), ('/home/nano/Desktop/images/12122025/11/39/image_12122025_11_39_24_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/11/39/image_12122025_11_39_15_10647.jpg', 2), ('/home/nano/Desktop/images/12122025/11/38/image_12122025_11_39_04_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/11/38/image_12122025_11_38_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:40:32.080749 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/40/image_12122025_11_40_44_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/11/40/image_12122025_11_40_35_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/11/40/image_12122025_11_40_25_10607.jpg', 2), ('/home/nano/Desktop/images/12122025/11/40/image_12122025_11_40_14_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/11/39/image_12122025_11_40_05_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/11/39/image_12122025_11_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:41:02.712703 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/40/image_12122025_11_40_44_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/11/40/image_12122025_11_40_35_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/11/40/image_12122025_11_40_25_10607.jpg', 2), ('/home/nano/Desktop/images/12122025/11/40/image_12122025_11_40_14_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/11/39/image_12122025_11_40_05_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/11/39/image_12122025_11_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:41:32.210787 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/41/image_12122025_11_41_45_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/11/41/image_12122025_11_41_34_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/11/41/image_12122025_11_41_25_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/11/41/image_12122025_11_41_15_10626.jpg', 2), ('/home/nano/Desktop/images/12122025/11/40/image_12122025_11_41_04_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/11/40/image_12122025_11_40_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:42:02.838134 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/41/image_12122025_11_41_45_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/11/41/image_12122025_11_41_34_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/11/41/image_12122025_11_41_25_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/11/41/image_12122025_11_41_15_10626.jpg', 2), ('/home/nano/Desktop/images/12122025/11/40/image_12122025_11_41_04_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/11/40/image_12122025_11_40_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:42:32.311997 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/42/image_12122025_11_42_44_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/11/42/image_12122025_11_42_35_10605.jpg', 2), ('/home/nano/Desktop/images/12122025/11/42/image_12122025_11_42_24_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/11/42/image_12122025_11_42_15_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/11/41/image_12122025_11_42_05_10626.jpg', 2), ('/home/nano/Desktop/images/12122025/11/41/image_12122025_11_41_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:43:03.128515 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/42/image_12122025_11_42_44_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/11/42/image_12122025_11_42_35_10605.jpg', 2), ('/home/nano/Desktop/images/12122025/11/42/image_12122025_11_42_24_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/11/42/image_12122025_11_42_15_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/11/41/image_12122025_11_42_05_10626.jpg', 2), ('/home/nano/Desktop/images/12122025/11/41/image_12122025_11_41_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:43:32.395035 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/43/image_12122025_11_43_44_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/11/43/image_12122025_11_43_35_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/11/43/image_12122025_11_43_25_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/11/43/image_12122025_11_43_14_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/11/42/image_12122025_11_43_05_10624.jpg', 2), ('/home/nano/Desktop/images/12122025/11/42/image_12122025_11_42_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:44:03.298463 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/43/image_12122025_11_43_44_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/11/43/image_12122025_11_43_35_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/11/43/image_12122025_11_43_25_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/11/43/image_12122025_11_43_14_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/11/42/image_12122025_11_43_05_10624.jpg', 2), ('/home/nano/Desktop/images/12122025/11/42/image_12122025_11_42_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:44:32.463897 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/44/image_12122025_11_44_45_10616.jpg', 2), ('/home/nano/Desktop/images/12122025/11/44/image_12122025_11_44_34_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/11/44/image_12122025_11_44_25_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/11/44/image_12122025_11_44_15_10641.jpg', 2), ('/home/nano/Desktop/images/12122025/11/43/image_12122025_11_43_55_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/11/43/image_12122025_11_43_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:45:03.380264 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/44/image_12122025_11_44_45_10616.jpg', 2), ('/home/nano/Desktop/images/12122025/11/44/image_12122025_11_44_34_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/11/44/image_12122025_11_44_25_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/11/44/image_12122025_11_44_15_10641.jpg', 2), ('/home/nano/Desktop/images/12122025/11/43/image_12122025_11_43_55_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/11/43/image_12122025_11_43_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:45:32.587610 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/45/image_12122025_11_45_45_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/11/45/image_12122025_11_45_35_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/11/45/image_12122025_11_45_24_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/11/45/image_12122025_11_45_15_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/11/44/image_12122025_11_45_05_10623.jpg', 2), ('/home/nano/Desktop/images/12122025/11/44/image_12122025_11_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:46:03.346249 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/45/image_12122025_11_45_45_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/11/45/image_12122025_11_45_35_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/11/45/image_12122025_11_45_24_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/11/45/image_12122025_11_45_15_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/11/44/image_12122025_11_45_05_10623.jpg', 2), ('/home/nano/Desktop/images/12122025/11/44/image_12122025_11_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:46:32.740788 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/46/image_12122025_11_46_44_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/11/46/image_12122025_11_46_35_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/11/46/image_12122025_11_46_14_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/11/45/image_12122025_11_46_05_10637.jpg', 2), ('/home/nano/Desktop/images/12122025/11/45/image_12122025_11_45_54_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/11/45/image_12122025_11_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:47:02.284302 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/46/image_12122025_11_46_44_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/11/46/image_12122025_11_46_35_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/11/46/image_12122025_11_46_14_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/11/45/image_12122025_11_46_05_10637.jpg', 2), ('/home/nano/Desktop/images/12122025/11/45/image_12122025_11_45_54_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/11/45/image_12122025_11_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:47:31.831832 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/47/image_12122025_11_47_45_10623.jpg', 2), ('/home/nano/Desktop/images/12122025/11/47/image_12122025_11_47_34_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/11/47/image_12122025_11_47_25_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/11/46/image_12122025_11_47_04_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/11/46/image_12122025_11_46_55_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/11/46/image_12122025_11_46_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:48:02.393227 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/47/image_12122025_11_47_45_10623.jpg', 2), ('/home/nano/Desktop/images/12122025/11/47/image_12122025_11_47_34_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/11/47/image_12122025_11_47_25_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/11/46/image_12122025_11_47_04_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/11/46/image_12122025_11_46_55_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/11/46/image_12122025_11_46_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:48:31.969682 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/48/image_12122025_11_48_45_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/11/48/image_12122025_11_48_35_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/11/48/image_12122025_11_48_24_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/11/48/image_12122025_11_48_15_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/11/47/image_12122025_11_48_04_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/11/47/image_12122025_11_47_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:49:03.109024 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/48/image_12122025_11_48_45_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/11/48/image_12122025_11_48_35_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/11/48/image_12122025_11_48_24_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/11/48/image_12122025_11_48_15_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/11/47/image_12122025_11_48_04_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/11/47/image_12122025_11_47_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:49:32.105931 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/49/image_12122025_11_49_44_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/11/49/image_12122025_11_49_35_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/11/49/image_12122025_11_49_25_10606.jpg', 2), ('/home/nano/Desktop/images/12122025/11/49/image_12122025_11_49_14_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/11/48/image_12122025_11_49_05_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/11/48/image_12122025_11_48_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:50:02.758999 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/49/image_12122025_11_49_44_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/11/49/image_12122025_11_49_35_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/11/49/image_12122025_11_49_25_10606.jpg', 2), ('/home/nano/Desktop/images/12122025/11/49/image_12122025_11_49_14_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/11/48/image_12122025_11_49_05_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/11/48/image_12122025_11_48_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:50:32.215157 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/50/image_12122025_11_50_34_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/11/50/image_12122025_11_50_25_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/11/50/image_12122025_11_50_14_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/11/49/image_12122025_11_50_05_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/11/49/image_12122025_11_49_55_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/11/49/image_12122025_11_49_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:51:03.155322 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/50/image_12122025_11_50_34_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/11/50/image_12122025_11_50_25_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/11/50/image_12122025_11_50_14_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/11/49/image_12122025_11_50_05_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/11/49/image_12122025_11_49_55_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/11/49/image_12122025_11_49_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:51:32.342711 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/51/image_12122025_11_51_24_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/11/50/image_12122025_11_51_04_9614.jpg', 2), ('/home/nano/Desktop/images/12122025/11/50/image_12122025_11_50_45_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/11/50/image_12122025_11_50_34_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/11/50/image_12122025_11_50_25_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/11/50/image_12122025_11_50_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:52:02.884705 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/51/image_12122025_11_51_24_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/11/50/image_12122025_11_51_04_9614.jpg', 2), ('/home/nano/Desktop/images/12122025/11/50/image_12122025_11_50_45_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/11/50/image_12122025_11_50_34_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/11/50/image_12122025_11_50_25_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/11/50/image_12122025_11_50_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:52:32.457555 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/51/image_12122025_11_51_24_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/11/50/image_12122025_11_51_04_9614.jpg', 2), ('/home/nano/Desktop/images/12122025/11/50/image_12122025_11_50_45_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/11/50/image_12122025_11_50_34_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/11/50/image_12122025_11_50_25_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/11/50/image_12122025_11_50_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:53:03.300044 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/51/image_12122025_11_51_24_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/11/50/image_12122025_11_51_04_9614.jpg', 2), ('/home/nano/Desktop/images/12122025/11/50/image_12122025_11_50_45_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/11/50/image_12122025_11_50_34_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/11/50/image_12122025_11_50_25_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/11/50/image_12122025_11_50_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:53:32.536726 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/51/image_12122025_11_51_24_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/11/50/image_12122025_11_51_04_9614.jpg', 2), ('/home/nano/Desktop/images/12122025/11/50/image_12122025_11_50_45_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/11/50/image_12122025_11_50_34_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/11/50/image_12122025_11_50_25_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/11/50/image_12122025_11_50_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:54:03.506174 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/51/image_12122025_11_51_24_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/11/50/image_12122025_11_51_04_9614.jpg', 2), ('/home/nano/Desktop/images/12122025/11/50/image_12122025_11_50_45_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/11/50/image_12122025_11_50_34_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/11/50/image_12122025_11_50_25_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/11/50/image_12122025_11_50_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:54:32.667835 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/53/image_12122025_11_54_04_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/11/51/image_12122025_11_51_35_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/11/51/image_12122025_11_51_24_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/11/50/image_12122025_11_51_04_9614.jpg', 2), ('/home/nano/Desktop/images/12122025/11/50/image_12122025_11_50_45_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/11/50/image_12122025_11_50_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:55:02.595412 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/53/image_12122025_11_54_04_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/11/51/image_12122025_11_51_35_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/11/51/image_12122025_11_51_24_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/11/50/image_12122025_11_51_04_9614.jpg', 2), ('/home/nano/Desktop/images/12122025/11/50/image_12122025_11_50_45_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/11/50/image_12122025_11_50_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:55:31.809078 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/55/image_12122025_11_55_35_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/11/54/image_12122025_11_54_15_10665.jpg', 2), ('/home/nano/Desktop/images/12122025/11/53/image_12122025_11_54_04_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/11/51/image_12122025_11_51_35_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/11/51/image_12122025_11_51_24_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/11/50/image_12122025_11_51_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:56:02.499018 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/55/image_12122025_11_55_35_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/11/54/image_12122025_11_54_15_10665.jpg', 2), ('/home/nano/Desktop/images/12122025/11/53/image_12122025_11_54_04_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/11/51/image_12122025_11_51_35_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/11/51/image_12122025_11_51_24_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/11/50/image_12122025_11_51_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:56:31.925870 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/55/image_12122025_11_55_35_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/11/54/image_12122025_11_54_15_10665.jpg', 2), ('/home/nano/Desktop/images/12122025/11/53/image_12122025_11_54_04_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/11/51/image_12122025_11_51_35_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/11/51/image_12122025_11_51_24_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/11/50/image_12122025_11_51_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:57:02.710585 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/55/image_12122025_11_55_35_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/11/54/image_12122025_11_54_15_10665.jpg', 2), ('/home/nano/Desktop/images/12122025/11/53/image_12122025_11_54_04_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/11/51/image_12122025_11_51_35_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/11/51/image_12122025_11_51_24_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/11/50/image_12122025_11_51_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:57:32.002455 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/57/image_12122025_11_57_25_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/11/55/image_12122025_11_55_45_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/11/55/image_12122025_11_55_35_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/11/54/image_12122025_11_54_15_10665.jpg', 2), ('/home/nano/Desktop/images/12122025/11/53/image_12122025_11_54_04_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/11/51/image_12122025_11_51_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:59:03.058904 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/58/image_12122025_11_58_45_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/11/58/image_12122025_11_58_35_10618.jpg', 2), ('/home/nano/Desktop/images/12122025/11/58/image_12122025_11_58_24_9611.jpg', 2), ('/home/nano/Desktop/images/12122025/11/58/image_12122025_11_58_15_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/11/57/image_12122025_11_58_04_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/11/57/image_12122025_11_57_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 11:59:32.235806 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/58/image_12122025_11_58_45_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/11/58/image_12122025_11_58_35_10618.jpg', 2), ('/home/nano/Desktop/images/12122025/11/58/image_12122025_11_58_24_9611.jpg', 2), ('/home/nano/Desktop/images/12122025/11/58/image_12122025_11_58_15_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/11/57/image_12122025_11_58_04_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/11/57/image_12122025_11_57_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:00:02.911617 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/11/58/image_12122025_11_58_45_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/11/58/image_12122025_11_58_35_10618.jpg', 2), ('/home/nano/Desktop/images/12122025/11/58/image_12122025_11_58_24_9611.jpg', 2), ('/home/nano/Desktop/images/12122025/11/58/image_12122025_11_58_15_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/11/57/image_12122025_11_58_04_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/11/57/image_12122025_11_57_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:00:32.351963 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/00/image_12122025_12_00_34_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/12/00/image_12122025_12_00_25_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/12/00/image_12122025_12_00_14_9636.jpg', 2), ('/home/nano/Desktop/images/12122025/11/58/image_12122025_11_58_54_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/11/58/image_12122025_11_58_45_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/11/58/image_12122025_11_58_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:01:03.197038 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/00/image_12122025_12_00_34_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/12/00/image_12122025_12_00_25_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/12/00/image_12122025_12_00_14_9636.jpg', 2), ('/home/nano/Desktop/images/12122025/11/58/image_12122025_11_58_54_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/11/58/image_12122025_11_58_45_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/11/58/image_12122025_11_58_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:01:32.452483 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/01/image_12122025_12_01_15_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/12/00/image_12122025_12_01_04_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/12/00/image_12122025_12_00_45_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/12/00/image_12122025_12_00_34_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/12/00/image_12122025_12_00_25_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/12/00/image_12122025_12_00_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:02:03.102285 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/01/image_12122025_12_01_15_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/12/00/image_12122025_12_01_04_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/12/00/image_12122025_12_00_45_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/12/00/image_12122025_12_00_34_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/12/00/image_12122025_12_00_25_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/12/00/image_12122025_12_00_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:02:32.564739 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/02/image_12122025_12_02_35_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/12/02/image_12122025_12_02_24_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/12/01/image_12122025_12_01_25_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/12/01/image_12122025_12_01_15_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/12/00/image_12122025_12_01_04_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/12/00/image_12122025_12_00_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:03:03.405793 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/02/image_12122025_12_02_35_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/12/02/image_12122025_12_02_24_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/12/01/image_12122025_12_01_25_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/12/01/image_12122025_12_01_15_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/12/00/image_12122025_12_01_04_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/12/00/image_12122025_12_00_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:03:32.694078 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/03/image_12122025_12_03_44_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/12/03/image_12122025_12_03_34_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/12/03/image_12122025_12_03_25_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/12/03/image_12122025_12_03_14_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/12/02/image_12122025_12_03_05_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/12/02/image_12122025_12_02_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:04:02.696666 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/03/image_12122025_12_03_44_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/12/03/image_12122025_12_03_34_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/12/03/image_12122025_12_03_25_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/12/03/image_12122025_12_03_14_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/12/02/image_12122025_12_03_05_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/12/02/image_12122025_12_02_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:04:31.805344 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/04/image_12122025_12_04_45_10625.jpg', 2), ('/home/nano/Desktop/images/12122025/12/04/image_12122025_12_04_34_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/12/04/image_12122025_12_04_25_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/12/04/image_12122025_12_04_15_10623.jpg', 2), ('/home/nano/Desktop/images/12122025/12/03/image_12122025_12_04_04_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/12/03/image_12122025_12_03_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:05:02.735855 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/04/image_12122025_12_04_45_10625.jpg', 2), ('/home/nano/Desktop/images/12122025/12/04/image_12122025_12_04_34_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/12/04/image_12122025_12_04_25_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/12/04/image_12122025_12_04_15_10623.jpg', 2), ('/home/nano/Desktop/images/12122025/12/03/image_12122025_12_04_04_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/12/03/image_12122025_12_03_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:05:31.902549 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/05/image_12122025_12_05_44_9649.jpg', 2), ('/home/nano/Desktop/images/12122025/12/05/image_12122025_12_05_35_10602.jpg', 2), ('/home/nano/Desktop/images/12122025/12/05/image_12122025_12_05_24_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/12/05/image_12122025_12_05_15_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/12/04/image_12122025_12_05_05_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/12/04/image_12122025_12_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:06:02.500072 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/05/image_12122025_12_05_44_9649.jpg', 2), ('/home/nano/Desktop/images/12122025/12/05/image_12122025_12_05_35_10602.jpg', 2), ('/home/nano/Desktop/images/12122025/12/05/image_12122025_12_05_24_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/12/05/image_12122025_12_05_15_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/12/04/image_12122025_12_05_05_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/12/04/image_12122025_12_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:06:32.010581 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/06/image_12122025_12_06_44_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/12/06/image_12122025_12_06_35_10620.jpg', 2), ('/home/nano/Desktop/images/12122025/12/06/image_12122025_12_06_24_9710.jpg', 2), ('/home/nano/Desktop/images/12122025/12/06/image_12122025_12_06_15_9682.jpg', 2), ('/home/nano/Desktop/images/12122025/12/05/image_12122025_12_06_05_10682.jpg', 2), ('/home/nano/Desktop/images/12122025/12/05/image_12122025_12_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:07:02.663574 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/06/image_12122025_12_06_44_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/12/06/image_12122025_12_06_35_10620.jpg', 2), ('/home/nano/Desktop/images/12122025/12/06/image_12122025_12_06_24_9710.jpg', 2), ('/home/nano/Desktop/images/12122025/12/06/image_12122025_12_06_15_9682.jpg', 2), ('/home/nano/Desktop/images/12122025/12/05/image_12122025_12_06_05_10682.jpg', 2), ('/home/nano/Desktop/images/12122025/12/05/image_12122025_12_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:07:32.107884 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/07/image_12122025_12_07_44_9751.jpg', 2), ('/home/nano/Desktop/images/12122025/12/07/image_12122025_12_07_35_9651.jpg', 2), ('/home/nano/Desktop/images/12122025/12/07/image_12122025_12_07_25_10639.jpg', 2), ('/home/nano/Desktop/images/12122025/12/07/image_12122025_12_07_14_9686.jpg', 2), ('/home/nano/Desktop/images/12122025/12/06/image_12122025_12_07_05_9656.jpg', 2), ('/home/nano/Desktop/images/12122025/12/06/image_12122025_12_06_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:08:02.720003 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/07/image_12122025_12_07_44_9751.jpg', 2), ('/home/nano/Desktop/images/12122025/12/07/image_12122025_12_07_35_9651.jpg', 2), ('/home/nano/Desktop/images/12122025/12/07/image_12122025_12_07_25_10639.jpg', 2), ('/home/nano/Desktop/images/12122025/12/07/image_12122025_12_07_14_9686.jpg', 2), ('/home/nano/Desktop/images/12122025/12/06/image_12122025_12_07_05_9656.jpg', 2), ('/home/nano/Desktop/images/12122025/12/06/image_12122025_12_06_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:08:32.220680 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/08/image_12122025_12_08_44_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/12/08/image_12122025_12_08_35_10627.jpg', 2), ('/home/nano/Desktop/images/12122025/12/08/image_12122025_12_08_24_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/12/08/image_12122025_12_08_15_9706.jpg', 2), ('/home/nano/Desktop/images/12122025/12/07/image_12122025_12_08_05_10793.jpg', 2), ('/home/nano/Desktop/images/12122025/12/07/image_12122025_12_07_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:09:03.342245 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/08/image_12122025_12_08_44_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/12/08/image_12122025_12_08_35_10627.jpg', 2), ('/home/nano/Desktop/images/12122025/12/08/image_12122025_12_08_24_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/12/08/image_12122025_12_08_15_9706.jpg', 2), ('/home/nano/Desktop/images/12122025/12/07/image_12122025_12_08_05_10793.jpg', 2), ('/home/nano/Desktop/images/12122025/12/07/image_12122025_12_07_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:09:32.316785 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/09/image_12122025_12_09_44_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/12/09/image_12122025_12_09_35_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/12/09/image_12122025_12_09_25_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/12/09/image_12122025_12_09_14_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/12/08/image_12122025_12_09_05_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/12/08/image_12122025_12_08_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:10:02.905287 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/09/image_12122025_12_09_44_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/12/09/image_12122025_12_09_35_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/12/09/image_12122025_12_09_25_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/12/09/image_12122025_12_09_14_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/12/08/image_12122025_12_09_05_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/12/08/image_12122025_12_08_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:10:32.387133 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/10/image_12122025_12_10_45_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/12/10/image_12122025_12_10_34_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/12/10/image_12122025_12_10_25_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/12/10/image_12122025_12_10_15_10620.jpg', 2), ('/home/nano/Desktop/images/12122025/12/09/image_12122025_12_10_04_9614.jpg', 2), ('/home/nano/Desktop/images/12122025/12/09/image_12122025_12_09_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:11:03.083075 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/10/image_12122025_12_10_45_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/12/10/image_12122025_12_10_34_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/12/10/image_12122025_12_10_25_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/12/10/image_12122025_12_10_15_10620.jpg', 2), ('/home/nano/Desktop/images/12122025/12/09/image_12122025_12_10_04_9614.jpg', 2), ('/home/nano/Desktop/images/12122025/12/09/image_12122025_12_09_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:11:32.515253 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/11/image_12122025_12_11_45_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/12/11/image_12122025_12_11_35_10621.jpg', 2), ('/home/nano/Desktop/images/12122025/12/11/image_12122025_12_11_24_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/12/11/image_12122025_12_11_15_9614.jpg', 2), ('/home/nano/Desktop/images/12122025/12/10/image_12122025_12_11_05_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/12/10/image_12122025_12_10_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:12:02.914595 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/11/image_12122025_12_11_45_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/12/11/image_12122025_12_11_35_10621.jpg', 2), ('/home/nano/Desktop/images/12122025/12/11/image_12122025_12_11_24_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/12/11/image_12122025_12_11_15_9614.jpg', 2), ('/home/nano/Desktop/images/12122025/12/10/image_12122025_12_11_05_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/12/10/image_12122025_12_10_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:12:32.614422 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/12/image_12122025_12_12_45_10811.jpg', 2), ('/home/nano/Desktop/images/12122025/12/12/image_12122025_12_12_34_9859.jpg', 2), ('/home/nano/Desktop/images/12122025/12/12/image_12122025_12_12_24_9771.jpg', 2), ('/home/nano/Desktop/images/12122025/12/12/image_12122025_12_12_14_9671.jpg', 2), ('/home/nano/Desktop/images/12122025/12/11/image_12122025_12_12_05_10651.jpg', 2), ('/home/nano/Desktop/images/12122025/12/11/image_12122025_12_11_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:13:03.395087 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/12/image_12122025_12_12_45_10811.jpg', 2), ('/home/nano/Desktop/images/12122025/12/12/image_12122025_12_12_34_9859.jpg', 2), ('/home/nano/Desktop/images/12122025/12/12/image_12122025_12_12_24_9771.jpg', 2), ('/home/nano/Desktop/images/12122025/12/12/image_12122025_12_12_14_9671.jpg', 2), ('/home/nano/Desktop/images/12122025/12/11/image_12122025_12_12_05_10651.jpg', 2), ('/home/nano/Desktop/images/12122025/12/11/image_12122025_12_11_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:13:32.691998 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/13/image_12122025_12_13_45_10639.jpg', 2), ('/home/nano/Desktop/images/12122025/12/13/image_12122025_12_13_34_9706.jpg', 2), ('/home/nano/Desktop/images/12122025/12/13/image_12122025_12_13_25_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/12/13/image_12122025_12_13_15_10736.jpg', 2), ('/home/nano/Desktop/images/12122025/12/12/image_12122025_12_13_04_9726.jpg', 2), ('/home/nano/Desktop/images/12122025/12/12/image_12122025_12_12_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:14:02.758025 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/13/image_12122025_12_13_45_10639.jpg', 2), ('/home/nano/Desktop/images/12122025/12/13/image_12122025_12_13_34_9706.jpg', 2), ('/home/nano/Desktop/images/12122025/12/13/image_12122025_12_13_25_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/12/13/image_12122025_12_13_15_10736.jpg', 2), ('/home/nano/Desktop/images/12122025/12/12/image_12122025_12_13_04_9726.jpg', 2), ('/home/nano/Desktop/images/12122025/12/12/image_12122025_12_12_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:14:31.823196 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/14/image_12122025_12_14_45_10616.jpg', 2), ('/home/nano/Desktop/images/12122025/12/14/image_12122025_12_14_34_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/12/14/image_12122025_12_14_25_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/12/14/image_12122025_12_14_15_10715.jpg', 2), ('/home/nano/Desktop/images/12122025/12/13/image_12122025_12_14_04_9698.jpg', 2), ('/home/nano/Desktop/images/12122025/12/13/image_12122025_12_13_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:15:02.639006 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/14/image_12122025_12_14_45_10616.jpg', 2), ('/home/nano/Desktop/images/12122025/12/14/image_12122025_12_14_34_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/12/14/image_12122025_12_14_25_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/12/14/image_12122025_12_14_15_10715.jpg', 2), ('/home/nano/Desktop/images/12122025/12/13/image_12122025_12_14_04_9698.jpg', 2), ('/home/nano/Desktop/images/12122025/12/13/image_12122025_12_13_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:15:31.990944 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/15/image_12122025_12_15_45_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/12/15/image_12122025_12_15_35_10607.jpg', 2), ('/home/nano/Desktop/images/12122025/12/15/image_12122025_12_15_24_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/12/15/image_12122025_12_15_15_10628.jpg', 2), ('/home/nano/Desktop/images/12122025/12/14/image_12122025_12_15_04_9644.jpg', 2), ('/home/nano/Desktop/images/12122025/12/14/image_12122025_12_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:16:02.602021 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/15/image_12122025_12_15_45_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/12/15/image_12122025_12_15_35_10607.jpg', 2), ('/home/nano/Desktop/images/12122025/12/15/image_12122025_12_15_24_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/12/15/image_12122025_12_15_15_10628.jpg', 2), ('/home/nano/Desktop/images/12122025/12/14/image_12122025_12_15_04_9644.jpg', 2), ('/home/nano/Desktop/images/12122025/12/14/image_12122025_12_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:16:32.075453 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/16/image_12122025_12_16_44_9593.jpg', 2), ('/home/nano/Desktop/images/12122025/12/16/image_12122025_12_16_35_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/12/16/image_12122025_12_16_25_10602.jpg', 2), ('/home/nano/Desktop/images/12122025/12/16/image_12122025_12_16_14_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/12/15/image_12122025_12_16_05_10626.jpg', 2), ('/home/nano/Desktop/images/12122025/12/15/image_12122025_12_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:17:02.772883 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/16/image_12122025_12_16_44_9593.jpg', 2), ('/home/nano/Desktop/images/12122025/12/16/image_12122025_12_16_35_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/12/16/image_12122025_12_16_25_10602.jpg', 2), ('/home/nano/Desktop/images/12122025/12/16/image_12122025_12_16_14_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/12/15/image_12122025_12_16_05_10626.jpg', 2), ('/home/nano/Desktop/images/12122025/12/15/image_12122025_12_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:17:32.181360 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/17/image_12122025_12_17_45_10602.jpg', 2), ('/home/nano/Desktop/images/12122025/12/17/image_12122025_12_17_34_9593.jpg', 2), ('/home/nano/Desktop/images/12122025/12/17/image_12122025_12_17_25_9611.jpg', 2), ('/home/nano/Desktop/images/12122025/12/17/image_12122025_12_17_15_10626.jpg', 2), ('/home/nano/Desktop/images/12122025/12/16/image_12122025_12_17_04_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/12/16/image_12122025_12_16_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:18:02.785969 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/17/image_12122025_12_17_45_10602.jpg', 2), ('/home/nano/Desktop/images/12122025/12/17/image_12122025_12_17_34_9593.jpg', 2), ('/home/nano/Desktop/images/12122025/12/17/image_12122025_12_17_25_9611.jpg', 2), ('/home/nano/Desktop/images/12122025/12/17/image_12122025_12_17_15_10626.jpg', 2), ('/home/nano/Desktop/images/12122025/12/16/image_12122025_12_17_04_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/12/16/image_12122025_12_16_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:18:32.304514 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/18/image_12122025_12_18_35_10621.jpg', 2), ('/home/nano/Desktop/images/12122025/12/18/image_12122025_12_18_24_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/12/18/image_12122025_12_18_15_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/12/17/image_12122025_12_18_04_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/12/17/image_12122025_12_17_54_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/12/17/image_12122025_12_17_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:19:03.220063 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/18/image_12122025_12_18_35_10621.jpg', 2), ('/home/nano/Desktop/images/12122025/12/18/image_12122025_12_18_24_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/12/18/image_12122025_12_18_15_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/12/17/image_12122025_12_18_04_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/12/17/image_12122025_12_17_54_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/12/17/image_12122025_12_17_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:19:32.410947 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/19/image_12122025_12_19_44_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/12/19/image_12122025_12_19_35_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/12/19/image_12122025_12_19_25_10602.jpg', 2), ('/home/nano/Desktop/images/12122025/12/19/image_12122025_12_19_14_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/12/18/image_12122025_12_19_05_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/12/18/image_12122025_12_18_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:20:02.938509 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/19/image_12122025_12_19_44_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/12/19/image_12122025_12_19_35_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/12/19/image_12122025_12_19_25_10602.jpg', 2), ('/home/nano/Desktop/images/12122025/12/19/image_12122025_12_19_14_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/12/18/image_12122025_12_19_05_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/12/18/image_12122025_12_18_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:20:32.482972 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/20/image_12122025_12_20_25_9823.jpg', 2), ('/home/nano/Desktop/images/12122025/12/20/image_12122025_12_20_15_9872.jpg', 2), ('/home/nano/Desktop/images/12122025/12/19/image_12122025_12_20_05_9867.jpg', 2), ('/home/nano/Desktop/images/12122025/12/19/image_12122025_12_19_55_10791.jpg', 2), ('/home/nano/Desktop/images/12122025/12/19/image_12122025_12_19_44_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/12/19/image_12122025_12_19_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:21:03.189404 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/20/image_12122025_12_20_25_9823.jpg', 2), ('/home/nano/Desktop/images/12122025/12/20/image_12122025_12_20_15_9872.jpg', 2), ('/home/nano/Desktop/images/12122025/12/19/image_12122025_12_20_05_9867.jpg', 2), ('/home/nano/Desktop/images/12122025/12/19/image_12122025_12_19_55_10791.jpg', 2), ('/home/nano/Desktop/images/12122025/12/19/image_12122025_12_19_44_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/12/19/image_12122025_12_19_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:21:32.610572 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/20/image_12122025_12_20_25_9823.jpg', 2), ('/home/nano/Desktop/images/12122025/12/20/image_12122025_12_20_15_9872.jpg', 2), ('/home/nano/Desktop/images/12122025/12/19/image_12122025_12_20_05_9867.jpg', 2), ('/home/nano/Desktop/images/12122025/12/19/image_12122025_12_19_55_10791.jpg', 2), ('/home/nano/Desktop/images/12122025/12/19/image_12122025_12_19_44_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/12/19/image_12122025_12_19_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:22:03.121593 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/20/image_12122025_12_20_25_9823.jpg', 2), ('/home/nano/Desktop/images/12122025/12/20/image_12122025_12_20_15_9872.jpg', 2), ('/home/nano/Desktop/images/12122025/12/19/image_12122025_12_20_05_9867.jpg', 2), ('/home/nano/Desktop/images/12122025/12/19/image_12122025_12_19_55_10791.jpg', 2), ('/home/nano/Desktop/images/12122025/12/19/image_12122025_12_19_44_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/12/19/image_12122025_12_19_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:22:32.716510 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/20/image_12122025_12_20_25_9823.jpg', 2), ('/home/nano/Desktop/images/12122025/12/20/image_12122025_12_20_15_9872.jpg', 2), ('/home/nano/Desktop/images/12122025/12/19/image_12122025_12_20_05_9867.jpg', 2), ('/home/nano/Desktop/images/12122025/12/19/image_12122025_12_19_55_10791.jpg', 2), ('/home/nano/Desktop/images/12122025/12/19/image_12122025_12_19_44_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/12/19/image_12122025_12_19_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:23:02.474685 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/20/image_12122025_12_20_25_9823.jpg', 2), ('/home/nano/Desktop/images/12122025/12/20/image_12122025_12_20_15_9872.jpg', 2), ('/home/nano/Desktop/images/12122025/12/19/image_12122025_12_20_05_9867.jpg', 2), ('/home/nano/Desktop/images/12122025/12/19/image_12122025_12_19_55_10791.jpg', 2), ('/home/nano/Desktop/images/12122025/12/19/image_12122025_12_19_44_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/12/19/image_12122025_12_19_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:23:31.791422 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/23/image_12122025_12_23_45_10802.jpg', 2), ('/home/nano/Desktop/images/12122025/12/23/image_12122025_12_23_34_9862.jpg', 2), ('/home/nano/Desktop/images/12122025/12/23/image_12122025_12_23_24_9916.jpg', 2), ('/home/nano/Desktop/images/12122025/12/23/image_12122025_12_23_14_9904.jpg', 2), ('/home/nano/Desktop/images/12122025/12/22/image_12122025_12_23_05_9898.jpg', 2), ('/home/nano/Desktop/images/12122025/12/22/image_12122025_12_22_55_9911.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:24:02.964383 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/23/image_12122025_12_23_45_10802.jpg', 2), ('/home/nano/Desktop/images/12122025/12/23/image_12122025_12_23_34_9862.jpg', 2), ('/home/nano/Desktop/images/12122025/12/23/image_12122025_12_23_24_9916.jpg', 2), ('/home/nano/Desktop/images/12122025/12/23/image_12122025_12_23_14_9904.jpg', 2), ('/home/nano/Desktop/images/12122025/12/22/image_12122025_12_23_05_9898.jpg', 2), ('/home/nano/Desktop/images/12122025/12/22/image_12122025_12_22_55_9911.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:24:32.009683 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/24/image_12122025_12_24_44_9877.jpg', 2), ('/home/nano/Desktop/images/12122025/12/24/image_12122025_12_24_34_9864.jpg', 2), ('/home/nano/Desktop/images/12122025/12/24/image_12122025_12_24_24_9862.jpg', 2), ('/home/nano/Desktop/images/12122025/12/24/image_12122025_12_24_15_9876.jpg', 2), ('/home/nano/Desktop/images/12122025/12/23/image_12122025_12_24_05_9864.jpg', 2), ('/home/nano/Desktop/images/12122025/12/23/image_12122025_12_23_55_9821.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:25:02.526198 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/24/image_12122025_12_24_44_9877.jpg', 2), ('/home/nano/Desktop/images/12122025/12/24/image_12122025_12_24_34_9864.jpg', 2), ('/home/nano/Desktop/images/12122025/12/24/image_12122025_12_24_24_9862.jpg', 2), ('/home/nano/Desktop/images/12122025/12/24/image_12122025_12_24_15_9876.jpg', 2), ('/home/nano/Desktop/images/12122025/12/23/image_12122025_12_24_05_9864.jpg', 2), ('/home/nano/Desktop/images/12122025/12/23/image_12122025_12_23_55_9821.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:25:32.075924 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/25/image_12122025_12_25_44_9853.jpg', 2), ('/home/nano/Desktop/images/12122025/12/25/image_12122025_12_25_34_9857.jpg', 2), ('/home/nano/Desktop/images/12122025/12/25/image_12122025_12_25_24_9849.jpg', 2), ('/home/nano/Desktop/images/12122025/12/25/image_12122025_12_25_15_9869.jpg', 2), ('/home/nano/Desktop/images/12122025/12/24/image_12122025_12_25_05_9834.jpg', 2), ('/home/nano/Desktop/images/12122025/12/24/image_12122025_12_24_55_10788.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:26:02.634205 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/25/image_12122025_12_25_44_9853.jpg', 2), ('/home/nano/Desktop/images/12122025/12/25/image_12122025_12_25_34_9857.jpg', 2), ('/home/nano/Desktop/images/12122025/12/25/image_12122025_12_25_24_9849.jpg', 2), ('/home/nano/Desktop/images/12122025/12/25/image_12122025_12_25_15_9869.jpg', 2), ('/home/nano/Desktop/images/12122025/12/24/image_12122025_12_25_05_9834.jpg', 2), ('/home/nano/Desktop/images/12122025/12/24/image_12122025_12_24_55_10788.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:26:32.180852 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/25/image_12122025_12_25_55_10883.jpg', 2), ('/home/nano/Desktop/images/12122025/12/25/image_12122025_12_25_44_9853.jpg', 2), ('/home/nano/Desktop/images/12122025/12/25/image_12122025_12_25_34_9857.jpg', 2), ('/home/nano/Desktop/images/12122025/12/25/image_12122025_12_25_24_9849.jpg', 2), ('/home/nano/Desktop/images/12122025/12/25/image_12122025_12_25_15_9869.jpg', 2), ('/home/nano/Desktop/images/12122025/12/24/image_12122025_12_25_05_9834.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:27:02.980349 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/25/image_12122025_12_25_55_10883.jpg', 2), ('/home/nano/Desktop/images/12122025/12/25/image_12122025_12_25_44_9853.jpg', 2), ('/home/nano/Desktop/images/12122025/12/25/image_12122025_12_25_34_9857.jpg', 2), ('/home/nano/Desktop/images/12122025/12/25/image_12122025_12_25_24_9849.jpg', 2), ('/home/nano/Desktop/images/12122025/12/25/image_12122025_12_25_15_9869.jpg', 2), ('/home/nano/Desktop/images/12122025/12/24/image_12122025_12_25_05_9834.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:27:32.278739 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/27/image_12122025_12_27_44_9856.jpg', 2), ('/home/nano/Desktop/images/12122025/12/27/image_12122025_12_27_34_9862.jpg', 2), ('/home/nano/Desktop/images/12122025/12/27/image_12122025_12_27_24_9885.jpg', 2), ('/home/nano/Desktop/images/12122025/12/27/image_12122025_12_27_15_9929.jpg', 2), ('/home/nano/Desktop/images/12122025/12/25/image_12122025_12_25_55_10883.jpg', 2), ('/home/nano/Desktop/images/12122025/12/25/image_12122025_12_25_44_9853.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:28:02.840258 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/27/image_12122025_12_27_44_9856.jpg', 2), ('/home/nano/Desktop/images/12122025/12/27/image_12122025_12_27_34_9862.jpg', 2), ('/home/nano/Desktop/images/12122025/12/27/image_12122025_12_27_24_9885.jpg', 2), ('/home/nano/Desktop/images/12122025/12/27/image_12122025_12_27_15_9929.jpg', 2), ('/home/nano/Desktop/images/12122025/12/25/image_12122025_12_25_55_10883.jpg', 2), ('/home/nano/Desktop/images/12122025/12/25/image_12122025_12_25_44_9853.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:28:32.380307 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/28/image_12122025_12_28_44_9868.jpg', 2), ('/home/nano/Desktop/images/12122025/12/28/image_12122025_12_28_35_9889.jpg', 2), ('/home/nano/Desktop/images/12122025/12/28/image_12122025_12_28_25_9868.jpg', 2), ('/home/nano/Desktop/images/12122025/12/28/image_12122025_12_28_15_9885.jpg', 2), ('/home/nano/Desktop/images/12122025/12/27/image_12122025_12_28_05_9870.jpg', 2), ('/home/nano/Desktop/images/12122025/12/27/image_12122025_12_27_55_10861.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:29:03.481163 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/28/image_12122025_12_28_44_9868.jpg', 2), ('/home/nano/Desktop/images/12122025/12/28/image_12122025_12_28_35_9889.jpg', 2), ('/home/nano/Desktop/images/12122025/12/28/image_12122025_12_28_25_9868.jpg', 2), ('/home/nano/Desktop/images/12122025/12/28/image_12122025_12_28_15_9885.jpg', 2), ('/home/nano/Desktop/images/12122025/12/27/image_12122025_12_28_05_9870.jpg', 2), ('/home/nano/Desktop/images/12122025/12/27/image_12122025_12_27_55_10861.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:29:32.519050 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/29/image_12122025_12_29_45_9892.jpg', 2), ('/home/nano/Desktop/images/12122025/12/29/image_12122025_12_29_35_9881.jpg', 2), ('/home/nano/Desktop/images/12122025/12/29/image_12122025_12_29_25_9867.jpg', 2), ('/home/nano/Desktop/images/12122025/12/29/image_12122025_12_29_15_10900.jpg', 2), ('/home/nano/Desktop/images/12122025/12/28/image_12122025_12_29_04_9868.jpg', 2), ('/home/nano/Desktop/images/12122025/12/28/image_12122025_12_28_54_9861.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:30:03.014614 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/29/image_12122025_12_29_45_9892.jpg', 2), ('/home/nano/Desktop/images/12122025/12/29/image_12122025_12_29_35_9881.jpg', 2), ('/home/nano/Desktop/images/12122025/12/29/image_12122025_12_29_25_9867.jpg', 2), ('/home/nano/Desktop/images/12122025/12/29/image_12122025_12_29_15_10900.jpg', 2), ('/home/nano/Desktop/images/12122025/12/28/image_12122025_12_29_04_9868.jpg', 2), ('/home/nano/Desktop/images/12122025/12/28/image_12122025_12_28_54_9861.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:30:32.555547 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/30/image_12122025_12_30_44_9767.jpg', 2), ('/home/nano/Desktop/images/12122025/12/30/image_12122025_12_30_35_9750.jpg', 2), ('/home/nano/Desktop/images/12122025/12/30/image_12122025_12_30_25_10757.jpg', 2), ('/home/nano/Desktop/images/12122025/12/30/image_12122025_12_30_14_9769.jpg', 2), ('/home/nano/Desktop/images/12122025/12/29/image_12122025_12_30_04_9807.jpg', 2), ('/home/nano/Desktop/images/12122025/12/29/image_12122025_12_29_55_9855.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:31:03.319568 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/30/image_12122025_12_30_44_9767.jpg', 2), ('/home/nano/Desktop/images/12122025/12/30/image_12122025_12_30_35_9750.jpg', 2), ('/home/nano/Desktop/images/12122025/12/30/image_12122025_12_30_25_10757.jpg', 2), ('/home/nano/Desktop/images/12122025/12/30/image_12122025_12_30_14_9769.jpg', 2), ('/home/nano/Desktop/images/12122025/12/29/image_12122025_12_30_04_9807.jpg', 2), ('/home/nano/Desktop/images/12122025/12/29/image_12122025_12_29_55_9855.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:31:32.690817 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/31/image_12122025_12_31_45_10761.jpg', 2), ('/home/nano/Desktop/images/12122025/12/31/image_12122025_12_31_34_9753.jpg', 2), ('/home/nano/Desktop/images/12122025/12/31/image_12122025_12_31_24_9751.jpg', 2), ('/home/nano/Desktop/images/12122025/12/31/image_12122025_12_31_15_9774.jpg', 2), ('/home/nano/Desktop/images/12122025/12/30/image_12122025_12_31_05_10761.jpg', 2), ('/home/nano/Desktop/images/12122025/12/30/image_12122025_12_30_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:32:02.264314 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/31/image_12122025_12_31_45_10761.jpg', 2), ('/home/nano/Desktop/images/12122025/12/31/image_12122025_12_31_34_9753.jpg', 2), ('/home/nano/Desktop/images/12122025/12/31/image_12122025_12_31_24_9751.jpg', 2), ('/home/nano/Desktop/images/12122025/12/31/image_12122025_12_31_15_9774.jpg', 2), ('/home/nano/Desktop/images/12122025/12/30/image_12122025_12_31_05_10761.jpg', 2), ('/home/nano/Desktop/images/12122025/12/30/image_12122025_12_30_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:32:31.890526 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/31/image_12122025_12_31_55_9752.jpg', 2), ('/home/nano/Desktop/images/12122025/12/31/image_12122025_12_31_45_10761.jpg', 2), ('/home/nano/Desktop/images/12122025/12/31/image_12122025_12_31_34_9753.jpg', 2), ('/home/nano/Desktop/images/12122025/12/31/image_12122025_12_31_24_9751.jpg', 2), ('/home/nano/Desktop/images/12122025/12/31/image_12122025_12_31_15_9774.jpg', 2), ('/home/nano/Desktop/images/12122025/12/30/image_12122025_12_31_05_10761.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:33:02.638506 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/31/image_12122025_12_31_55_9752.jpg', 2), ('/home/nano/Desktop/images/12122025/12/31/image_12122025_12_31_45_10761.jpg', 2), ('/home/nano/Desktop/images/12122025/12/31/image_12122025_12_31_34_9753.jpg', 2), ('/home/nano/Desktop/images/12122025/12/31/image_12122025_12_31_24_9751.jpg', 2), ('/home/nano/Desktop/images/12122025/12/31/image_12122025_12_31_15_9774.jpg', 2), ('/home/nano/Desktop/images/12122025/12/30/image_12122025_12_31_05_10761.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:33:31.951156 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/33/image_12122025_12_33_14_9942.jpg', 2), ('/home/nano/Desktop/images/12122025/12/31/image_12122025_12_31_55_9752.jpg', 2), ('/home/nano/Desktop/images/12122025/12/31/image_12122025_12_31_45_10761.jpg', 2), ('/home/nano/Desktop/images/12122025/12/31/image_12122025_12_31_34_9753.jpg', 2), ('/home/nano/Desktop/images/12122025/12/31/image_12122025_12_31_24_9751.jpg', 2), ('/home/nano/Desktop/images/12122025/12/31/image_12122025_12_31_15_9774.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:34:02.854675 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/33/image_12122025_12_33_14_9942.jpg', 2), ('/home/nano/Desktop/images/12122025/12/31/image_12122025_12_31_55_9752.jpg', 2), ('/home/nano/Desktop/images/12122025/12/31/image_12122025_12_31_45_10761.jpg', 2), ('/home/nano/Desktop/images/12122025/12/31/image_12122025_12_31_34_9753.jpg', 2), ('/home/nano/Desktop/images/12122025/12/31/image_12122025_12_31_24_9751.jpg', 2), ('/home/nano/Desktop/images/12122025/12/31/image_12122025_12_31_15_9774.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:34:32.049551 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/34/image_12122025_12_34_44_9878.jpg', 2), ('/home/nano/Desktop/images/12122025/12/34/image_12122025_12_34_34_9872.jpg', 2), ('/home/nano/Desktop/images/12122025/12/34/image_12122025_12_34_24_9839.jpg', 2), ('/home/nano/Desktop/images/12122025/12/34/image_12122025_12_34_15_9847.jpg', 2), ('/home/nano/Desktop/images/12122025/12/33/image_12122025_12_34_05_9889.jpg', 2), ('/home/nano/Desktop/images/12122025/12/33/image_12122025_12_33_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:35:02.831447 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/34/image_12122025_12_34_44_9878.jpg', 2), ('/home/nano/Desktop/images/12122025/12/34/image_12122025_12_34_34_9872.jpg', 2), ('/home/nano/Desktop/images/12122025/12/34/image_12122025_12_34_24_9839.jpg', 2), ('/home/nano/Desktop/images/12122025/12/34/image_12122025_12_34_15_9847.jpg', 2), ('/home/nano/Desktop/images/12122025/12/33/image_12122025_12_34_05_9889.jpg', 2), ('/home/nano/Desktop/images/12122025/12/33/image_12122025_12_33_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:35:32.197520 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/35/image_12122025_12_35_44_9849.jpg', 2), ('/home/nano/Desktop/images/12122025/12/35/image_12122025_12_35_34_9847.jpg', 2), ('/home/nano/Desktop/images/12122025/12/35/image_12122025_12_35_25_9815.jpg', 2), ('/home/nano/Desktop/images/12122025/12/35/image_12122025_12_35_15_9889.jpg', 2), ('/home/nano/Desktop/images/12122025/12/34/image_12122025_12_35_05_9881.jpg', 2), ('/home/nano/Desktop/images/12122025/12/34/image_12122025_12_34_55_10876.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:36:02.894603 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/35/image_12122025_12_35_44_9849.jpg', 2), ('/home/nano/Desktop/images/12122025/12/35/image_12122025_12_35_34_9847.jpg', 2), ('/home/nano/Desktop/images/12122025/12/35/image_12122025_12_35_25_9815.jpg', 2), ('/home/nano/Desktop/images/12122025/12/35/image_12122025_12_35_15_9889.jpg', 2), ('/home/nano/Desktop/images/12122025/12/34/image_12122025_12_35_05_9881.jpg', 2), ('/home/nano/Desktop/images/12122025/12/34/image_12122025_12_34_55_10876.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:36:32.313047 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/36/image_12122025_12_36_45_9866.jpg', 2), ('/home/nano/Desktop/images/12122025/12/36/image_12122025_12_36_35_9916.jpg', 2), ('/home/nano/Desktop/images/12122025/12/36/image_12122025_12_36_25_9821.jpg', 2), ('/home/nano/Desktop/images/12122025/12/36/image_12122025_12_36_15_9884.jpg', 2), ('/home/nano/Desktop/images/12122025/12/35/image_12122025_12_36_05_10861.jpg', 2), ('/home/nano/Desktop/images/12122025/12/35/image_12122025_12_35_54_9860.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:37:03.098641 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/37/image_12122025_12_37_45_9875.jpg', 2), ('/home/nano/Desktop/images/12122025/12/36/image_12122025_12_36_45_9866.jpg', 2), ('/home/nano/Desktop/images/12122025/12/36/image_12122025_12_36_35_9916.jpg', 2), ('/home/nano/Desktop/images/12122025/12/36/image_12122025_12_36_25_9821.jpg', 2), ('/home/nano/Desktop/images/12122025/12/36/image_12122025_12_36_15_9884.jpg', 2), ('/home/nano/Desktop/images/12122025/12/35/image_12122025_12_36_05_10861.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:37:32.441829 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/37/image_12122025_12_37_45_9875.jpg', 2), ('/home/nano/Desktop/images/12122025/12/37/image_12122025_12_37_35_9870.jpg', 2), ('/home/nano/Desktop/images/12122025/12/37/image_12122025_12_37_25_10885.jpg', 2), ('/home/nano/Desktop/images/12122025/12/37/image_12122025_12_37_14_9898.jpg', 2), ('/home/nano/Desktop/images/12122025/12/36/image_12122025_12_37_04_9880.jpg', 2), ('/home/nano/Desktop/images/12122025/12/36/image_12122025_12_36_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:38:02.960232 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/37/image_12122025_12_37_45_9875.jpg', 2), ('/home/nano/Desktop/images/12122025/12/37/image_12122025_12_37_35_9870.jpg', 2), ('/home/nano/Desktop/images/12122025/12/37/image_12122025_12_37_25_10885.jpg', 2), ('/home/nano/Desktop/images/12122025/12/37/image_12122025_12_37_14_9898.jpg', 2), ('/home/nano/Desktop/images/12122025/12/36/image_12122025_12_37_04_9880.jpg', 2), ('/home/nano/Desktop/images/12122025/12/36/image_12122025_12_36_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:38:32.535984 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/38/image_12122025_12_38_44_9872.jpg', 2), ('/home/nano/Desktop/images/12122025/12/38/image_12122025_12_38_34_9882.jpg', 2), ('/home/nano/Desktop/images/12122025/12/38/image_12122025_12_38_24_9874.jpg', 2), ('/home/nano/Desktop/images/12122025/12/38/image_12122025_12_38_14_9896.jpg', 2), ('/home/nano/Desktop/images/12122025/12/37/image_12122025_12_38_05_9896.jpg', 2), ('/home/nano/Desktop/images/12122025/12/37/image_12122025_12_37_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:39:03.754576 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/38/image_12122025_12_38_44_9872.jpg', 2), ('/home/nano/Desktop/images/12122025/12/38/image_12122025_12_38_34_9882.jpg', 2), ('/home/nano/Desktop/images/12122025/12/38/image_12122025_12_38_24_9874.jpg', 2), ('/home/nano/Desktop/images/12122025/12/38/image_12122025_12_38_14_9896.jpg', 2), ('/home/nano/Desktop/images/12122025/12/37/image_12122025_12_38_05_9896.jpg', 2), ('/home/nano/Desktop/images/12122025/12/37/image_12122025_12_37_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:39:32.649056 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/39/image_12122025_12_39_44_9874.jpg', 2), ('/home/nano/Desktop/images/12122025/12/39/image_12122025_12_39_35_9868.jpg', 2), ('/home/nano/Desktop/images/12122025/12/39/image_12122025_12_39_25_9872.jpg', 2), ('/home/nano/Desktop/images/12122025/12/39/image_12122025_12_39_15_9921.jpg', 2), ('/home/nano/Desktop/images/12122025/12/38/image_12122025_12_39_05_9882.jpg', 2), ('/home/nano/Desktop/images/12122025/12/38/image_12122025_12_38_55_10877.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:40:03.155600 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/39/image_12122025_12_39_44_9874.jpg', 2), ('/home/nano/Desktop/images/12122025/12/39/image_12122025_12_39_35_9868.jpg', 2), ('/home/nano/Desktop/images/12122025/12/39/image_12122025_12_39_25_9872.jpg', 2), ('/home/nano/Desktop/images/12122025/12/39/image_12122025_12_39_15_9921.jpg', 2), ('/home/nano/Desktop/images/12122025/12/38/image_12122025_12_39_05_9882.jpg', 2), ('/home/nano/Desktop/images/12122025/12/38/image_12122025_12_38_55_10877.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:40:32.739355 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_45_9859.jpg', 2), ('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_35_9807.jpg', 2), ('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_25_9859.jpg', 2), ('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_15_10908.jpg', 2), ('/home/nano/Desktop/images/12122025/12/39/image_12122025_12_40_04_9876.jpg', 2), ('/home/nano/Desktop/images/12122025/12/39/image_12122025_12_39_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:41:02.407274 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_45_9859.jpg', 2), ('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_35_9807.jpg', 2), ('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_25_9859.jpg', 2), ('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_15_10908.jpg', 2), ('/home/nano/Desktop/images/12122025/12/39/image_12122025_12_40_04_9876.jpg', 2), ('/home/nano/Desktop/images/12122025/12/39/image_12122025_12_39_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:41:31.818712 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_45_9859.jpg', 2), ('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_35_9807.jpg', 2), ('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_25_9859.jpg', 2), ('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_15_10908.jpg', 2), ('/home/nano/Desktop/images/12122025/12/39/image_12122025_12_40_04_9876.jpg', 2), ('/home/nano/Desktop/images/12122025/12/39/image_12122025_12_39_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:42:02.456167 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_45_9859.jpg', 2), ('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_35_9807.jpg', 2), ('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_25_9859.jpg', 2), ('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_15_10908.jpg', 2), ('/home/nano/Desktop/images/12122025/12/39/image_12122025_12_40_04_9876.jpg', 2), ('/home/nano/Desktop/images/12122025/12/39/image_12122025_12_39_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:42:31.918858 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_45_9859.jpg', 2), ('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_35_9807.jpg', 2), ('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_25_9859.jpg', 2), ('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_15_10908.jpg', 2), ('/home/nano/Desktop/images/12122025/12/39/image_12122025_12_40_04_9876.jpg', 2), ('/home/nano/Desktop/images/12122025/12/39/image_12122025_12_39_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:43:02.786298 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_45_9859.jpg', 2), ('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_35_9807.jpg', 2), ('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_25_9859.jpg', 2), ('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_15_10908.jpg', 2), ('/home/nano/Desktop/images/12122025/12/39/image_12122025_12_40_04_9876.jpg', 2), ('/home/nano/Desktop/images/12122025/12/39/image_12122025_12_39_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:43:32.041148 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_45_9859.jpg', 2), ('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_35_9807.jpg', 2), ('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_25_9859.jpg', 2), ('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_15_10908.jpg', 2), ('/home/nano/Desktop/images/12122025/12/39/image_12122025_12_40_04_9876.jpg', 2), ('/home/nano/Desktop/images/12122025/12/39/image_12122025_12_39_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:44:02.945921 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_45_9859.jpg', 2), ('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_35_9807.jpg', 2), ('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_25_9859.jpg', 2), ('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_15_10908.jpg', 2), ('/home/nano/Desktop/images/12122025/12/39/image_12122025_12_40_04_9876.jpg', 2), ('/home/nano/Desktop/images/12122025/12/39/image_12122025_12_39_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:44:32.125407 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_45_9859.jpg', 2), ('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_35_9807.jpg', 2), ('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_25_9859.jpg', 2), ('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_15_10908.jpg', 2), ('/home/nano/Desktop/images/12122025/12/39/image_12122025_12_40_04_9876.jpg', 2), ('/home/nano/Desktop/images/12122025/12/39/image_12122025_12_39_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:45:02.877641 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_45_9859.jpg', 2), ('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_35_9807.jpg', 2), ('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_25_9859.jpg', 2), ('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_15_10908.jpg', 2), ('/home/nano/Desktop/images/12122025/12/39/image_12122025_12_40_04_9876.jpg', 2), ('/home/nano/Desktop/images/12122025/12/39/image_12122025_12_39_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:45:32.236204 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_45_9859.jpg', 2), ('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_35_9807.jpg', 2), ('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_25_9859.jpg', 2), ('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_15_10908.jpg', 2), ('/home/nano/Desktop/images/12122025/12/39/image_12122025_12_40_04_9876.jpg', 2), ('/home/nano/Desktop/images/12122025/12/39/image_12122025_12_39_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:46:02.883626 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/46/image_12122025_12_46_54_9957.jpg', 2), ('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_45_9859.jpg', 2), ('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_35_9807.jpg', 2), ('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_25_9859.jpg', 2), ('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_15_10908.jpg', 2), ('/home/nano/Desktop/images/12122025/12/39/image_12122025_12_40_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:46:32.371888 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/46/image_12122025_12_46_54_9957.jpg', 2), ('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_45_9859.jpg', 2), ('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_35_9807.jpg', 2), ('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_25_9859.jpg', 2), ('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_15_10908.jpg', 2), ('/home/nano/Desktop/images/12122025/12/39/image_12122025_12_40_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:47:03.176478 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/46/image_12122025_12_46_54_9957.jpg', 2), ('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_45_9859.jpg', 2), ('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_35_9807.jpg', 2), ('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_25_9859.jpg', 2), ('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_15_10908.jpg', 2), ('/home/nano/Desktop/images/12122025/12/39/image_12122025_12_40_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:47:32.411880 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/46/image_12122025_12_46_54_9957.jpg', 2), ('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_45_9859.jpg', 2), ('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_35_9807.jpg', 2), ('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_25_9859.jpg', 2), ('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_15_10908.jpg', 2), ('/home/nano/Desktop/images/12122025/12/39/image_12122025_12_40_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:48:03.040358 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/46/image_12122025_12_46_54_9957.jpg', 2), ('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_45_9859.jpg', 2), ('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_35_9807.jpg', 2), ('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_25_9859.jpg', 2), ('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_15_10908.jpg', 2), ('/home/nano/Desktop/images/12122025/12/39/image_12122025_12_40_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:48:32.512381 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/46/image_12122025_12_46_54_9957.jpg', 2), ('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_45_9859.jpg', 2), ('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_35_9807.jpg', 2), ('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_25_9859.jpg', 2), ('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_15_10908.jpg', 2), ('/home/nano/Desktop/images/12122025/12/39/image_12122025_12_40_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:49:03.591369 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/46/image_12122025_12_46_54_9957.jpg', 2), ('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_45_9859.jpg', 2), ('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_35_9807.jpg', 2), ('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_25_9859.jpg', 2), ('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_15_10908.jpg', 2), ('/home/nano/Desktop/images/12122025/12/39/image_12122025_12_40_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:49:32.667087 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/48/image_12122025_12_49_04_9913.jpg', 2), ('/home/nano/Desktop/images/12122025/12/46/image_12122025_12_46_54_9957.jpg', 2), ('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_45_9859.jpg', 2), ('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_35_9807.jpg', 2), ('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_25_9859.jpg', 2), ('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_15_10908.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:50:03.229928 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/48/image_12122025_12_49_04_9913.jpg', 2), ('/home/nano/Desktop/images/12122025/12/46/image_12122025_12_46_54_9957.jpg', 2), ('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_45_9859.jpg', 2), ('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_35_9807.jpg', 2), ('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_25_9859.jpg', 2), ('/home/nano/Desktop/images/12122025/12/40/image_12122025_12_40_15_10908.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:50:32.745356 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/50/image_12122025_12_50_34_9913.jpg', 2), ('/home/nano/Desktop/images/12122025/12/50/image_12122025_12_50_25_9845.jpg', 2), ('/home/nano/Desktop/images/12122025/12/50/image_12122025_12_50_15_9903.jpg', 2), ('/home/nano/Desktop/images/12122025/12/49/image_12122025_12_50_05_9843.jpg', 2), ('/home/nano/Desktop/images/12122025/12/49/image_12122025_12_49_55_9942.jpg', 2), ('/home/nano/Desktop/images/12122025/12/48/image_12122025_12_49_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:51:02.630282 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/50/image_12122025_12_50_34_9913.jpg', 2), ('/home/nano/Desktop/images/12122025/12/50/image_12122025_12_50_25_9845.jpg', 2), ('/home/nano/Desktop/images/12122025/12/50/image_12122025_12_50_15_9903.jpg', 2), ('/home/nano/Desktop/images/12122025/12/49/image_12122025_12_50_05_9843.jpg', 2), ('/home/nano/Desktop/images/12122025/12/49/image_12122025_12_49_55_9942.jpg', 2), ('/home/nano/Desktop/images/12122025/12/48/image_12122025_12_49_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:51:31.814135 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/51/image_12122025_12_51_44_9850.jpg', 2), ('/home/nano/Desktop/images/12122025/12/51/image_12122025_12_51_35_9869.jpg', 2), ('/home/nano/Desktop/images/12122025/12/51/image_12122025_12_51_25_9839.jpg', 2), ('/home/nano/Desktop/images/12122025/12/51/image_12122025_12_51_15_9864.jpg', 2), ('/home/nano/Desktop/images/12122025/12/50/image_12122025_12_51_05_10887.jpg', 2), ('/home/nano/Desktop/images/12122025/12/50/image_12122025_12_50_44_9851.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:52:02.465043 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/51/image_12122025_12_51_44_9850.jpg', 2), ('/home/nano/Desktop/images/12122025/12/51/image_12122025_12_51_35_9869.jpg', 2), ('/home/nano/Desktop/images/12122025/12/51/image_12122025_12_51_25_9839.jpg', 2), ('/home/nano/Desktop/images/12122025/12/51/image_12122025_12_51_15_9864.jpg', 2), ('/home/nano/Desktop/images/12122025/12/50/image_12122025_12_51_05_10887.jpg', 2), ('/home/nano/Desktop/images/12122025/12/50/image_12122025_12_50_44_9851.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:52:31.966871 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/52/image_12122025_12_52_45_9903.jpg', 2), ('/home/nano/Desktop/images/12122025/12/52/image_12122025_12_52_35_9852.jpg', 2), ('/home/nano/Desktop/images/12122025/12/52/image_12122025_12_52_25_10857.jpg', 2), ('/home/nano/Desktop/images/12122025/12/52/image_12122025_12_52_14_9933.jpg', 2), ('/home/nano/Desktop/images/12122025/12/51/image_12122025_12_52_04_9874.jpg', 2), ('/home/nano/Desktop/images/12122025/12/51/image_12122025_12_51_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:53:02.683409 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/52/image_12122025_12_52_45_9903.jpg', 2), ('/home/nano/Desktop/images/12122025/12/52/image_12122025_12_52_35_9852.jpg', 2), ('/home/nano/Desktop/images/12122025/12/52/image_12122025_12_52_25_10857.jpg', 2), ('/home/nano/Desktop/images/12122025/12/52/image_12122025_12_52_14_9933.jpg', 2), ('/home/nano/Desktop/images/12122025/12/51/image_12122025_12_52_04_9874.jpg', 2), ('/home/nano/Desktop/images/12122025/12/51/image_12122025_12_51_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:53:32.011255 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/52/image_12122025_12_53_04_9876.jpg', 2), ('/home/nano/Desktop/images/12122025/12/52/image_12122025_12_52_55_9807.jpg', 2), ('/home/nano/Desktop/images/12122025/12/52/image_12122025_12_52_45_9903.jpg', 2), ('/home/nano/Desktop/images/12122025/12/52/image_12122025_12_52_35_9852.jpg', 2), ('/home/nano/Desktop/images/12122025/12/52/image_12122025_12_52_25_10857.jpg', 2), ('/home/nano/Desktop/images/12122025/12/52/image_12122025_12_52_14_9933.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:54:02.956364 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/52/image_12122025_12_53_04_9876.jpg', 2), ('/home/nano/Desktop/images/12122025/12/52/image_12122025_12_52_55_9807.jpg', 2), ('/home/nano/Desktop/images/12122025/12/52/image_12122025_12_52_45_9903.jpg', 2), ('/home/nano/Desktop/images/12122025/12/52/image_12122025_12_52_35_9852.jpg', 2), ('/home/nano/Desktop/images/12122025/12/52/image_12122025_12_52_25_10857.jpg', 2), ('/home/nano/Desktop/images/12122025/12/52/image_12122025_12_52_14_9933.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:54:32.148499 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/52/image_12122025_12_53_04_9876.jpg', 2), ('/home/nano/Desktop/images/12122025/12/52/image_12122025_12_52_55_9807.jpg', 2), ('/home/nano/Desktop/images/12122025/12/52/image_12122025_12_52_45_9903.jpg', 2), ('/home/nano/Desktop/images/12122025/12/52/image_12122025_12_52_35_9852.jpg', 2), ('/home/nano/Desktop/images/12122025/12/52/image_12122025_12_52_25_10857.jpg', 2), ('/home/nano/Desktop/images/12122025/12/52/image_12122025_12_52_14_9933.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:55:02.897100 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/52/image_12122025_12_53_04_9876.jpg', 2), ('/home/nano/Desktop/images/12122025/12/52/image_12122025_12_52_55_9807.jpg', 2), ('/home/nano/Desktop/images/12122025/12/52/image_12122025_12_52_45_9903.jpg', 2), ('/home/nano/Desktop/images/12122025/12/52/image_12122025_12_52_35_9852.jpg', 2), ('/home/nano/Desktop/images/12122025/12/52/image_12122025_12_52_25_10857.jpg', 2), ('/home/nano/Desktop/images/12122025/12/52/image_12122025_12_52_14_9933.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:55:32.302669 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/55/image_12122025_12_55_44_9825.jpg', 2), ('/home/nano/Desktop/images/12122025/12/55/image_12122025_12_55_34_9867.jpg', 2), ('/home/nano/Desktop/images/12122025/12/55/image_12122025_12_55_24_9797.jpg', 2), ('/home/nano/Desktop/images/12122025/12/55/image_12122025_12_55_15_9946.jpg', 2), ('/home/nano/Desktop/images/12122025/12/52/image_12122025_12_53_04_9876.jpg', 2), ('/home/nano/Desktop/images/12122025/12/52/image_12122025_12_52_55_9807.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:56:02.756614 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/55/image_12122025_12_55_44_9825.jpg', 2), ('/home/nano/Desktop/images/12122025/12/55/image_12122025_12_55_34_9867.jpg', 2), ('/home/nano/Desktop/images/12122025/12/55/image_12122025_12_55_24_9797.jpg', 2), ('/home/nano/Desktop/images/12122025/12/55/image_12122025_12_55_15_9946.jpg', 2), ('/home/nano/Desktop/images/12122025/12/52/image_12122025_12_53_04_9876.jpg', 2), ('/home/nano/Desktop/images/12122025/12/52/image_12122025_12_52_55_9807.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:56:32.351052 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/56/image_12122025_12_56_15_9844.jpg', 2), ('/home/nano/Desktop/images/12122025/12/55/image_12122025_12_56_05_9820.jpg', 2), ('/home/nano/Desktop/images/12122025/12/55/image_12122025_12_55_55_10852.jpg', 2), ('/home/nano/Desktop/images/12122025/12/55/image_12122025_12_55_44_9825.jpg', 2), ('/home/nano/Desktop/images/12122025/12/55/image_12122025_12_55_34_9867.jpg', 2), ('/home/nano/Desktop/images/12122025/12/55/image_12122025_12_55_24_9797.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:57:03.141481 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/56/image_12122025_12_56_15_9844.jpg', 2), ('/home/nano/Desktop/images/12122025/12/55/image_12122025_12_56_05_9820.jpg', 2), ('/home/nano/Desktop/images/12122025/12/55/image_12122025_12_55_55_10852.jpg', 2), ('/home/nano/Desktop/images/12122025/12/55/image_12122025_12_55_44_9825.jpg', 2), ('/home/nano/Desktop/images/12122025/12/55/image_12122025_12_55_34_9867.jpg', 2), ('/home/nano/Desktop/images/12122025/12/55/image_12122025_12_55_24_9797.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:57:32.447885 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/57/image_12122025_12_57_45_9856.jpg', 2), ('/home/nano/Desktop/images/12122025/12/57/image_12122025_12_57_35_10858.jpg', 2), ('/home/nano/Desktop/images/12122025/12/57/image_12122025_12_57_24_9923.jpg', 2), ('/home/nano/Desktop/images/12122025/12/56/image_12122025_12_56_15_9844.jpg', 2), ('/home/nano/Desktop/images/12122025/12/55/image_12122025_12_56_05_9820.jpg', 2), ('/home/nano/Desktop/images/12122025/12/55/image_12122025_12_55_55_10852.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:58:03.173345 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/57/image_12122025_12_57_45_9856.jpg', 2), ('/home/nano/Desktop/images/12122025/12/57/image_12122025_12_57_35_10858.jpg', 2), ('/home/nano/Desktop/images/12122025/12/57/image_12122025_12_57_24_9923.jpg', 2), ('/home/nano/Desktop/images/12122025/12/56/image_12122025_12_56_15_9844.jpg', 2), ('/home/nano/Desktop/images/12122025/12/55/image_12122025_12_56_05_9820.jpg', 2), ('/home/nano/Desktop/images/12122025/12/55/image_12122025_12_55_55_10852.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:58:32.620684 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/57/image_12122025_12_57_45_9856.jpg', 2), ('/home/nano/Desktop/images/12122025/12/57/image_12122025_12_57_35_10858.jpg', 2), ('/home/nano/Desktop/images/12122025/12/57/image_12122025_12_57_24_9923.jpg', 2), ('/home/nano/Desktop/images/12122025/12/56/image_12122025_12_56_15_9844.jpg', 2), ('/home/nano/Desktop/images/12122025/12/55/image_12122025_12_56_05_9820.jpg', 2), ('/home/nano/Desktop/images/12122025/12/55/image_12122025_12_55_55_10852.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:59:03.662957 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/57/image_12122025_12_57_45_9856.jpg', 2), ('/home/nano/Desktop/images/12122025/12/57/image_12122025_12_57_35_10858.jpg', 2), ('/home/nano/Desktop/images/12122025/12/57/image_12122025_12_57_24_9923.jpg', 2), ('/home/nano/Desktop/images/12122025/12/56/image_12122025_12_56_15_9844.jpg', 2), ('/home/nano/Desktop/images/12122025/12/55/image_12122025_12_56_05_9820.jpg', 2), ('/home/nano/Desktop/images/12122025/12/55/image_12122025_12_55_55_10852.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 12:59:32.723264 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/59/image_12122025_12_59_45_9861.jpg', 2), ('/home/nano/Desktop/images/12122025/12/59/image_12122025_12_59_35_10881.jpg', 2), ('/home/nano/Desktop/images/12122025/12/59/image_12122025_12_59_24_9900.jpg', 2), ('/home/nano/Desktop/images/12122025/12/59/image_12122025_12_59_14_9951.jpg', 2), ('/home/nano/Desktop/images/12122025/12/57/image_12122025_12_57_45_9856.jpg', 2), ('/home/nano/Desktop/images/12122025/12/57/image_12122025_12_57_35_10858.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:00:02.342971 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/12/59/image_12122025_12_59_45_9861.jpg', 2), ('/home/nano/Desktop/images/12122025/12/59/image_12122025_12_59_35_10881.jpg', 2), ('/home/nano/Desktop/images/12122025/12/59/image_12122025_12_59_24_9900.jpg', 2), ('/home/nano/Desktop/images/12122025/12/59/image_12122025_12_59_14_9951.jpg', 2), ('/home/nano/Desktop/images/12122025/12/57/image_12122025_12_57_45_9856.jpg', 2), ('/home/nano/Desktop/images/12122025/12/57/image_12122025_12_57_35_10858.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:00:31.967826 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/00/image_12122025_13_00_44_9882.jpg', 2), ('/home/nano/Desktop/images/12122025/13/00/image_12122025_13_00_34_9881.jpg', 2), ('/home/nano/Desktop/images/12122025/13/00/image_12122025_13_00_24_9899.jpg', 2), ('/home/nano/Desktop/images/12122025/13/00/image_12122025_13_00_15_9873.jpg', 2), ('/home/nano/Desktop/images/12122025/12/59/image_12122025_13_00_05_9915.jpg', 2), ('/home/nano/Desktop/images/12122025/12/59/image_12122025_12_59_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:01:02.850901 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/00/image_12122025_13_00_44_9882.jpg', 2), ('/home/nano/Desktop/images/12122025/13/00/image_12122025_13_00_34_9881.jpg', 2), ('/home/nano/Desktop/images/12122025/13/00/image_12122025_13_00_24_9899.jpg', 2), ('/home/nano/Desktop/images/12122025/13/00/image_12122025_13_00_15_9873.jpg', 2), ('/home/nano/Desktop/images/12122025/12/59/image_12122025_13_00_05_9915.jpg', 2), ('/home/nano/Desktop/images/12122025/12/59/image_12122025_12_59_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:01:32.122466 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/01/image_12122025_13_01_25_9907.jpg', 2), ('/home/nano/Desktop/images/12122025/13/00/image_12122025_13_01_05_10913.jpg', 2), ('/home/nano/Desktop/images/12122025/13/00/image_12122025_13_00_54_9882.jpg', 2), ('/home/nano/Desktop/images/12122025/13/00/image_12122025_13_00_44_9882.jpg', 2), ('/home/nano/Desktop/images/12122025/13/00/image_12122025_13_00_34_9881.jpg', 2), ('/home/nano/Desktop/images/12122025/13/00/image_12122025_13_00_24_9899.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:02:02.632616 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/01/image_12122025_13_01_25_9907.jpg', 2), ('/home/nano/Desktop/images/12122025/13/00/image_12122025_13_01_05_10913.jpg', 2), ('/home/nano/Desktop/images/12122025/13/00/image_12122025_13_00_54_9882.jpg', 2), ('/home/nano/Desktop/images/12122025/13/00/image_12122025_13_00_44_9882.jpg', 2), ('/home/nano/Desktop/images/12122025/13/00/image_12122025_13_00_34_9881.jpg', 2), ('/home/nano/Desktop/images/12122025/13/00/image_12122025_13_00_24_9899.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:02:32.118010 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/01/image_12122025_13_01_25_9907.jpg', 2), ('/home/nano/Desktop/images/12122025/13/00/image_12122025_13_01_05_10913.jpg', 2), ('/home/nano/Desktop/images/12122025/13/00/image_12122025_13_00_54_9882.jpg', 2), ('/home/nano/Desktop/images/12122025/13/00/image_12122025_13_00_44_9882.jpg', 2), ('/home/nano/Desktop/images/12122025/13/00/image_12122025_13_00_34_9881.jpg', 2), ('/home/nano/Desktop/images/12122025/13/00/image_12122025_13_00_24_9899.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:03:02.923227 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/01/image_12122025_13_01_25_9907.jpg', 2), ('/home/nano/Desktop/images/12122025/13/00/image_12122025_13_01_05_10913.jpg', 2), ('/home/nano/Desktop/images/12122025/13/00/image_12122025_13_00_54_9882.jpg', 2), ('/home/nano/Desktop/images/12122025/13/00/image_12122025_13_00_44_9882.jpg', 2), ('/home/nano/Desktop/images/12122025/13/00/image_12122025_13_00_34_9881.jpg', 2), ('/home/nano/Desktop/images/12122025/13/00/image_12122025_13_00_24_9899.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:03:32.232886 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/03/image_12122025_13_03_45_9928.jpg', 2), ('/home/nano/Desktop/images/12122025/13/03/image_12122025_13_03_25_9928.jpg', 2), ('/home/nano/Desktop/images/12122025/13/02/image_12122025_13_03_05_10919.jpg', 2), ('/home/nano/Desktop/images/12122025/13/02/image_12122025_13_02_54_9926.jpg', 2), ('/home/nano/Desktop/images/12122025/13/01/image_12122025_13_01_25_9907.jpg', 2), ('/home/nano/Desktop/images/12122025/13/00/image_12122025_13_01_05_10913.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:04:03.287691 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/03/image_12122025_13_03_45_9928.jpg', 2), ('/home/nano/Desktop/images/12122025/13/03/image_12122025_13_03_25_9928.jpg', 2), ('/home/nano/Desktop/images/12122025/13/02/image_12122025_13_03_05_10919.jpg', 2), ('/home/nano/Desktop/images/12122025/13/02/image_12122025_13_02_54_9926.jpg', 2), ('/home/nano/Desktop/images/12122025/13/01/image_12122025_13_01_25_9907.jpg', 2), ('/home/nano/Desktop/images/12122025/13/00/image_12122025_13_01_05_10913.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:04:32.370600 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/03/image_12122025_13_03_55_9855.jpg', 2), ('/home/nano/Desktop/images/12122025/13/03/image_12122025_13_03_45_9928.jpg', 2), ('/home/nano/Desktop/images/12122025/13/03/image_12122025_13_03_25_9928.jpg', 2), ('/home/nano/Desktop/images/12122025/13/02/image_12122025_13_03_05_10919.jpg', 2), ('/home/nano/Desktop/images/12122025/13/02/image_12122025_13_02_54_9926.jpg', 2), ('/home/nano/Desktop/images/12122025/13/01/image_12122025_13_01_25_9907.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:05:03.238240 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/03/image_12122025_13_03_55_9855.jpg', 2), ('/home/nano/Desktop/images/12122025/13/03/image_12122025_13_03_45_9928.jpg', 2), ('/home/nano/Desktop/images/12122025/13/03/image_12122025_13_03_25_9928.jpg', 2), ('/home/nano/Desktop/images/12122025/13/02/image_12122025_13_03_05_10919.jpg', 2), ('/home/nano/Desktop/images/12122025/13/02/image_12122025_13_02_54_9926.jpg', 2), ('/home/nano/Desktop/images/12122025/13/01/image_12122025_13_01_25_9907.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:05:32.491081 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/03/image_12122025_13_03_55_9855.jpg', 2), ('/home/nano/Desktop/images/12122025/13/03/image_12122025_13_03_45_9928.jpg', 2), ('/home/nano/Desktop/images/12122025/13/03/image_12122025_13_03_25_9928.jpg', 2), ('/home/nano/Desktop/images/12122025/13/02/image_12122025_13_03_05_10919.jpg', 2), ('/home/nano/Desktop/images/12122025/13/02/image_12122025_13_02_54_9926.jpg', 2), ('/home/nano/Desktop/images/12122025/13/01/image_12122025_13_01_25_9907.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:06:03.182308 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/03/image_12122025_13_03_55_9855.jpg', 2), ('/home/nano/Desktop/images/12122025/13/03/image_12122025_13_03_45_9928.jpg', 2), ('/home/nano/Desktop/images/12122025/13/03/image_12122025_13_03_25_9928.jpg', 2), ('/home/nano/Desktop/images/12122025/13/02/image_12122025_13_03_05_10919.jpg', 2), ('/home/nano/Desktop/images/12122025/13/02/image_12122025_13_02_54_9926.jpg', 2), ('/home/nano/Desktop/images/12122025/13/01/image_12122025_13_01_25_9907.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:06:32.570640 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/03/image_12122025_13_03_55_9855.jpg', 2), ('/home/nano/Desktop/images/12122025/13/03/image_12122025_13_03_45_9928.jpg', 2), ('/home/nano/Desktop/images/12122025/13/03/image_12122025_13_03_25_9928.jpg', 2), ('/home/nano/Desktop/images/12122025/13/02/image_12122025_13_03_05_10919.jpg', 2), ('/home/nano/Desktop/images/12122025/13/02/image_12122025_13_02_54_9926.jpg', 2), ('/home/nano/Desktop/images/12122025/13/01/image_12122025_13_01_25_9907.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:07:03.255650 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/03/image_12122025_13_03_55_9855.jpg', 2), ('/home/nano/Desktop/images/12122025/13/03/image_12122025_13_03_45_9928.jpg', 2), ('/home/nano/Desktop/images/12122025/13/03/image_12122025_13_03_25_9928.jpg', 2), ('/home/nano/Desktop/images/12122025/13/02/image_12122025_13_03_05_10919.jpg', 2), ('/home/nano/Desktop/images/12122025/13/02/image_12122025_13_02_54_9926.jpg', 2), ('/home/nano/Desktop/images/12122025/13/01/image_12122025_13_01_25_9907.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:07:32.708289 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/07/image_12122025_13_07_44_9747.jpg', 2), ('/home/nano/Desktop/images/12122025/13/07/image_12122025_13_07_35_9901.jpg', 2), ('/home/nano/Desktop/images/12122025/13/07/image_12122025_13_07_25_9926.jpg', 2), ('/home/nano/Desktop/images/12122025/13/07/image_12122025_13_07_15_9836.jpg', 2), ('/home/nano/Desktop/images/12122025/13/06/image_12122025_13_07_05_9945.jpg', 2), ('/home/nano/Desktop/images/12122025/13/03/image_12122025_13_03_55_9855.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:08:02.176571 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/07/image_12122025_13_07_44_9747.jpg', 2), ('/home/nano/Desktop/images/12122025/13/07/image_12122025_13_07_35_9901.jpg', 2), ('/home/nano/Desktop/images/12122025/13/07/image_12122025_13_07_25_9926.jpg', 2), ('/home/nano/Desktop/images/12122025/13/07/image_12122025_13_07_15_9836.jpg', 2), ('/home/nano/Desktop/images/12122025/13/06/image_12122025_13_07_05_9945.jpg', 2), ('/home/nano/Desktop/images/12122025/13/03/image_12122025_13_03_55_9855.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:08:31.767929 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/08/image_12122025_13_08_44_9611.jpg', 2), ('/home/nano/Desktop/images/12122025/13/08/image_12122025_13_08_35_10618.jpg', 2), ('/home/nano/Desktop/images/12122025/13/08/image_12122025_13_08_24_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/13/08/image_12122025_13_08_14_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/13/07/image_12122025_13_08_05_10745.jpg', 2), ('/home/nano/Desktop/images/12122025/13/07/image_12122025_13_07_54_9849.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:09:02.814832 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/08/image_12122025_13_08_44_9611.jpg', 2), ('/home/nano/Desktop/images/12122025/13/08/image_12122025_13_08_35_10618.jpg', 2), ('/home/nano/Desktop/images/12122025/13/08/image_12122025_13_08_24_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/13/08/image_12122025_13_08_14_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/13/07/image_12122025_13_08_05_10745.jpg', 2), ('/home/nano/Desktop/images/12122025/13/07/image_12122025_13_07_54_9849.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:09:31.894345 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/09/image_12122025_13_09_44_9616.jpg', 2), ('/home/nano/Desktop/images/12122025/13/09/image_12122025_13_09_34_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/13/09/image_12122025_13_09_14_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/13/08/image_12122025_13_09_05_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/13/08/image_12122025_13_08_55_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/13/08/image_12122025_13_08_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:10:02.484351 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/09/image_12122025_13_09_44_9616.jpg', 2), ('/home/nano/Desktop/images/12122025/13/09/image_12122025_13_09_34_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/13/09/image_12122025_13_09_14_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/13/08/image_12122025_13_09_05_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/13/08/image_12122025_13_08_55_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/13/08/image_12122025_13_08_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:10:31.972062 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/10/image_12122025_13_10_45_10625.jpg', 2), ('/home/nano/Desktop/images/12122025/13/10/image_12122025_13_10_34_9632.jpg', 2), ('/home/nano/Desktop/images/12122025/13/10/image_12122025_13_10_25_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/13/10/image_12122025_13_10_15_10665.jpg', 2), ('/home/nano/Desktop/images/12122025/13/09/image_12122025_13_09_55_10640.jpg', 2), ('/home/nano/Desktop/images/12122025/13/09/image_12122025_13_09_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:11:02.779966 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/10/image_12122025_13_10_45_10625.jpg', 2), ('/home/nano/Desktop/images/12122025/13/10/image_12122025_13_10_34_9632.jpg', 2), ('/home/nano/Desktop/images/12122025/13/10/image_12122025_13_10_25_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/13/10/image_12122025_13_10_15_10665.jpg', 2), ('/home/nano/Desktop/images/12122025/13/09/image_12122025_13_09_55_10640.jpg', 2), ('/home/nano/Desktop/images/12122025/13/09/image_12122025_13_09_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:11:32.076216 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/11/image_12122025_13_11_35_10626.jpg', 2), ('/home/nano/Desktop/images/12122025/13/11/image_12122025_13_11_24_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/13/10/image_12122025_13_11_04_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/13/10/image_12122025_13_10_55_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/13/10/image_12122025_13_10_45_10625.jpg', 2), ('/home/nano/Desktop/images/12122025/13/10/image_12122025_13_10_34_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:12:02.762880 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/11/image_12122025_13_11_35_10626.jpg', 2), ('/home/nano/Desktop/images/12122025/13/11/image_12122025_13_11_24_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/13/10/image_12122025_13_11_04_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/13/10/image_12122025_13_10_55_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/13/10/image_12122025_13_10_45_10625.jpg', 2), ('/home/nano/Desktop/images/12122025/13/10/image_12122025_13_10_34_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:12:32.254704 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/12/image_12122025_13_12_44_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/13/12/image_12122025_13_12_35_10644.jpg', 2), ('/home/nano/Desktop/images/12122025/13/12/image_12122025_13_12_24_9632.jpg', 2), ('/home/nano/Desktop/images/12122025/13/12/image_12122025_13_12_15_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/13/11/image_12122025_13_12_05_10650.jpg', 2), ('/home/nano/Desktop/images/12122025/13/11/image_12122025_13_11_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:13:03.005507 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/12/image_12122025_13_12_44_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/13/12/image_12122025_13_12_35_10644.jpg', 2), ('/home/nano/Desktop/images/12122025/13/12/image_12122025_13_12_24_9632.jpg', 2), ('/home/nano/Desktop/images/12122025/13/12/image_12122025_13_12_15_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/13/11/image_12122025_13_12_05_10650.jpg', 2), ('/home/nano/Desktop/images/12122025/13/11/image_12122025_13_11_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:13:32.353214 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/13/image_12122025_13_13_44_9632.jpg', 2), ('/home/nano/Desktop/images/12122025/13/13/image_12122025_13_13_35_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/13/13/image_12122025_13_13_25_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/13/13/image_12122025_13_13_14_9636.jpg', 2), ('/home/nano/Desktop/images/12122025/13/12/image_12122025_13_13_05_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/13/12/image_12122025_13_12_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:14:03.389540 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/13/image_12122025_13_13_44_9632.jpg', 2), ('/home/nano/Desktop/images/12122025/13/13/image_12122025_13_13_35_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/13/13/image_12122025_13_13_25_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/13/13/image_12122025_13_13_14_9636.jpg', 2), ('/home/nano/Desktop/images/12122025/13/12/image_12122025_13_13_05_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/13/12/image_12122025_13_12_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:14:32.477023 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/14/image_12122025_13_14_44_9645.jpg', 2), ('/home/nano/Desktop/images/12122025/13/14/image_12122025_13_14_34_9643.jpg', 2), ('/home/nano/Desktop/images/12122025/13/14/image_12122025_13_14_25_10672.jpg', 2), ('/home/nano/Desktop/images/12122025/13/14/image_12122025_13_14_14_9661.jpg', 2), ('/home/nano/Desktop/images/12122025/13/13/image_12122025_13_14_05_9646.jpg', 2), ('/home/nano/Desktop/images/12122025/13/13/image_12122025_13_13_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:15:03.180050 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/14/image_12122025_13_14_44_9645.jpg', 2), ('/home/nano/Desktop/images/12122025/13/14/image_12122025_13_14_34_9643.jpg', 2), ('/home/nano/Desktop/images/12122025/13/14/image_12122025_13_14_25_10672.jpg', 2), ('/home/nano/Desktop/images/12122025/13/14/image_12122025_13_14_14_9661.jpg', 2), ('/home/nano/Desktop/images/12122025/13/13/image_12122025_13_14_05_9646.jpg', 2), ('/home/nano/Desktop/images/12122025/13/13/image_12122025_13_13_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:15:32.538491 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/15/image_12122025_13_15_45_10661.jpg', 2), ('/home/nano/Desktop/images/12122025/13/15/image_12122025_13_15_34_9645.jpg', 2), ('/home/nano/Desktop/images/12122025/13/15/image_12122025_13_15_25_10653.jpg', 2), ('/home/nano/Desktop/images/12122025/13/15/image_12122025_13_15_14_9679.jpg', 2), ('/home/nano/Desktop/images/12122025/13/14/image_12122025_13_15_04_9653.jpg', 2), ('/home/nano/Desktop/images/12122025/13/14/image_12122025_13_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:16:03.337513 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/15/image_12122025_13_15_45_10661.jpg', 2), ('/home/nano/Desktop/images/12122025/13/15/image_12122025_13_15_34_9645.jpg', 2), ('/home/nano/Desktop/images/12122025/13/15/image_12122025_13_15_25_10653.jpg', 2), ('/home/nano/Desktop/images/12122025/13/15/image_12122025_13_15_14_9679.jpg', 2), ('/home/nano/Desktop/images/12122025/13/14/image_12122025_13_15_04_9653.jpg', 2), ('/home/nano/Desktop/images/12122025/13/14/image_12122025_13_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:16:32.776866 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/16/image_12122025_13_16_44_9657.jpg', 2), ('/home/nano/Desktop/images/12122025/13/16/image_12122025_13_16_34_9658.jpg', 2), ('/home/nano/Desktop/images/12122025/13/16/image_12122025_13_16_25_10687.jpg', 2), ('/home/nano/Desktop/images/12122025/13/16/image_12122025_13_16_14_9694.jpg', 2), ('/home/nano/Desktop/images/12122025/13/15/image_12122025_13_16_04_9658.jpg', 2), ('/home/nano/Desktop/images/12122025/13/15/image_12122025_13_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:17:02.525111 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/16/image_12122025_13_16_44_9657.jpg', 2), ('/home/nano/Desktop/images/12122025/13/16/image_12122025_13_16_34_9658.jpg', 2), ('/home/nano/Desktop/images/12122025/13/16/image_12122025_13_16_25_10687.jpg', 2), ('/home/nano/Desktop/images/12122025/13/16/image_12122025_13_16_14_9694.jpg', 2), ('/home/nano/Desktop/images/12122025/13/15/image_12122025_13_16_04_9658.jpg', 2), ('/home/nano/Desktop/images/12122025/13/15/image_12122025_13_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:17:31.847664 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/17/image_12122025_13_17_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/13/17/image_12122025_13_17_34_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/13/17/image_12122025_13_17_25_10647.jpg', 2), ('/home/nano/Desktop/images/12122025/13/17/image_12122025_13_17_14_9675.jpg', 2), ('/home/nano/Desktop/images/12122025/13/16/image_12122025_13_17_04_9676.jpg', 2), ('/home/nano/Desktop/images/12122025/13/16/image_12122025_13_16_55_10668.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:18:02.523411 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/17/image_12122025_13_17_45_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/13/17/image_12122025_13_17_34_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/13/17/image_12122025_13_17_25_10647.jpg', 2), ('/home/nano/Desktop/images/12122025/13/17/image_12122025_13_17_14_9675.jpg', 2), ('/home/nano/Desktop/images/12122025/13/16/image_12122025_13_17_04_9676.jpg', 2), ('/home/nano/Desktop/images/12122025/13/16/image_12122025_13_16_55_10668.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:18:31.950979 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/18/image_12122025_13_18_45_10649.jpg', 2), ('/home/nano/Desktop/images/12122025/13/18/image_12122025_13_18_34_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/13/18/image_12122025_13_18_25_9665.jpg', 2), ('/home/nano/Desktop/images/12122025/13/18/image_12122025_13_18_15_10651.jpg', 2), ('/home/nano/Desktop/images/12122025/13/17/image_12122025_13_18_04_9631.jpg', 2), ('/home/nano/Desktop/images/12122025/13/17/image_12122025_13_17_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:19:03.037108 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/18/image_12122025_13_18_45_10649.jpg', 2), ('/home/nano/Desktop/images/12122025/13/18/image_12122025_13_18_34_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/13/18/image_12122025_13_18_25_9665.jpg', 2), ('/home/nano/Desktop/images/12122025/13/18/image_12122025_13_18_15_10651.jpg', 2), ('/home/nano/Desktop/images/12122025/13/17/image_12122025_13_18_04_9631.jpg', 2), ('/home/nano/Desktop/images/12122025/13/17/image_12122025_13_17_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:19:32.020550 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/19/image_12122025_13_19_45_9684.jpg', 2), ('/home/nano/Desktop/images/12122025/13/19/image_12122025_13_19_35_10637.jpg', 2), ('/home/nano/Desktop/images/12122025/13/19/image_12122025_13_19_24_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/13/19/image_12122025_13_19_15_10659.jpg', 2), ('/home/nano/Desktop/images/12122025/13/18/image_12122025_13_19_04_9646.jpg', 2), ('/home/nano/Desktop/images/12122025/13/18/image_12122025_13_18_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:20:02.579193 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/19/image_12122025_13_19_45_9684.jpg', 2), ('/home/nano/Desktop/images/12122025/13/19/image_12122025_13_19_35_10637.jpg', 2), ('/home/nano/Desktop/images/12122025/13/19/image_12122025_13_19_24_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/13/19/image_12122025_13_19_15_10659.jpg', 2), ('/home/nano/Desktop/images/12122025/13/18/image_12122025_13_19_04_9646.jpg', 2), ('/home/nano/Desktop/images/12122025/13/18/image_12122025_13_18_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:20:32.143314 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/20/image_12122025_13_20_45_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/13/20/image_12122025_13_20_35_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/13/20/image_12122025_13_20_24_9631.jpg', 2), ('/home/nano/Desktop/images/12122025/13/20/image_12122025_13_20_15_9643.jpg', 2), ('/home/nano/Desktop/images/12122025/13/19/image_12122025_13_20_05_10649.jpg', 2), ('/home/nano/Desktop/images/12122025/13/19/image_12122025_13_19_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:21:02.985994 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/20/image_12122025_13_20_45_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/13/20/image_12122025_13_20_35_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/13/20/image_12122025_13_20_24_9631.jpg', 2), ('/home/nano/Desktop/images/12122025/13/20/image_12122025_13_20_15_9643.jpg', 2), ('/home/nano/Desktop/images/12122025/13/19/image_12122025_13_20_05_10649.jpg', 2), ('/home/nano/Desktop/images/12122025/13/19/image_12122025_13_19_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:21:32.319870 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/21/image_12122025_13_21_44_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/13/21/image_12122025_13_21_35_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/13/21/image_12122025_13_21_25_10607.jpg', 2), ('/home/nano/Desktop/images/12122025/13/21/image_12122025_13_21_14_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/13/20/image_12122025_13_21_05_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/13/20/image_12122025_13_20_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:22:02.897535 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/21/image_12122025_13_21_44_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/13/21/image_12122025_13_21_35_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/13/21/image_12122025_13_21_25_10607.jpg', 2), ('/home/nano/Desktop/images/12122025/13/21/image_12122025_13_21_14_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/13/20/image_12122025_13_21_05_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/13/20/image_12122025_13_20_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:22:32.340424 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/22/image_12122025_13_22_45_10647.jpg', 2), ('/home/nano/Desktop/images/12122025/13/22/image_12122025_13_22_34_9679.jpg', 2), ('/home/nano/Desktop/images/12122025/13/22/image_12122025_13_22_25_9672.jpg', 2), ('/home/nano/Desktop/images/12122025/13/22/image_12122025_13_22_15_10627.jpg', 2), ('/home/nano/Desktop/images/12122025/13/21/image_12122025_13_22_04_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/13/21/image_12122025_13_21_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:23:03.094975 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/22/image_12122025_13_22_45_10647.jpg', 2), ('/home/nano/Desktop/images/12122025/13/22/image_12122025_13_22_34_9679.jpg', 2), ('/home/nano/Desktop/images/12122025/13/22/image_12122025_13_22_25_9672.jpg', 2), ('/home/nano/Desktop/images/12122025/13/22/image_12122025_13_22_15_10627.jpg', 2), ('/home/nano/Desktop/images/12122025/13/21/image_12122025_13_22_04_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/13/21/image_12122025_13_21_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:23:32.445146 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/23/image_12122025_13_23_45_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/13/23/image_12122025_13_23_34_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/13/23/image_12122025_13_23_25_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/13/22/image_12122025_13_22_55_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/13/22/image_12122025_13_22_45_10647.jpg', 2), ('/home/nano/Desktop/images/12122025/13/22/image_12122025_13_22_34_9679.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:24:03.233787 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/23/image_12122025_13_23_45_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/13/23/image_12122025_13_23_34_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/13/23/image_12122025_13_23_25_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/13/22/image_12122025_13_22_55_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/13/22/image_12122025_13_22_45_10647.jpg', 2), ('/home/nano/Desktop/images/12122025/13/22/image_12122025_13_22_34_9679.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:24:32.515428 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/24/image_12122025_13_24_45_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/13/24/image_12122025_13_24_35_10652.jpg', 2), ('/home/nano/Desktop/images/12122025/13/24/image_12122025_13_24_24_9611.jpg', 2), ('/home/nano/Desktop/images/12122025/13/24/image_12122025_13_24_15_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/13/23/image_12122025_13_24_05_10617.jpg', 2), ('/home/nano/Desktop/images/12122025/13/23/image_12122025_13_23_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:25:03.442594 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/24/image_12122025_13_24_45_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/13/24/image_12122025_13_24_35_10652.jpg', 2), ('/home/nano/Desktop/images/12122025/13/24/image_12122025_13_24_24_9611.jpg', 2), ('/home/nano/Desktop/images/12122025/13/24/image_12122025_13_24_15_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/13/23/image_12122025_13_24_05_10617.jpg', 2), ('/home/nano/Desktop/images/12122025/13/23/image_12122025_13_23_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:25:32.645471 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/25/image_12122025_13_25_44_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/13/25/image_12122025_13_25_35_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/13/25/image_12122025_13_25_24_9666.jpg', 2), ('/home/nano/Desktop/images/12122025/13/25/image_12122025_13_25_15_9683.jpg', 2), ('/home/nano/Desktop/images/12122025/13/24/image_12122025_13_25_05_10698.jpg', 2), ('/home/nano/Desktop/images/12122025/13/24/image_12122025_13_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:26:03.057681 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/25/image_12122025_13_25_44_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/13/25/image_12122025_13_25_35_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/13/25/image_12122025_13_25_24_9666.jpg', 2), ('/home/nano/Desktop/images/12122025/13/25/image_12122025_13_25_15_9683.jpg', 2), ('/home/nano/Desktop/images/12122025/13/24/image_12122025_13_25_05_10698.jpg', 2), ('/home/nano/Desktop/images/12122025/13/24/image_12122025_13_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:26:32.743635 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/26/image_12122025_13_26_44_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/13/26/image_12122025_13_26_35_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/13/26/image_12122025_13_26_25_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/13/26/image_12122025_13_26_14_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/13/25/image_12122025_13_26_05_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/13/25/image_12122025_13_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:27:02.349954 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/26/image_12122025_13_26_44_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/13/26/image_12122025_13_26_35_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/13/26/image_12122025_13_26_25_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/13/26/image_12122025_13_26_14_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/13/25/image_12122025_13_26_05_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/13/25/image_12122025_13_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:27:31.835206 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/27/image_12122025_13_27_45_10648.jpg', 2), ('/home/nano/Desktop/images/12122025/13/27/image_12122025_13_27_34_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/13/27/image_12122025_13_27_25_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/13/27/image_12122025_13_27_15_10646.jpg', 2), ('/home/nano/Desktop/images/12122025/13/26/image_12122025_13_27_04_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/13/26/image_12122025_13_26_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:28:02.515452 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/27/image_12122025_13_27_45_10648.jpg', 2), ('/home/nano/Desktop/images/12122025/13/27/image_12122025_13_27_34_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/13/27/image_12122025_13_27_25_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/13/27/image_12122025_13_27_15_10646.jpg', 2), ('/home/nano/Desktop/images/12122025/13/26/image_12122025_13_27_04_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/13/26/image_12122025_13_26_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:28:31.958253 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/28/image_12122025_13_28_45_10782.jpg', 2), ('/home/nano/Desktop/images/12122025/13/28/image_12122025_13_28_34_9648.jpg', 2), ('/home/nano/Desktop/images/12122025/13/28/image_12122025_13_28_25_9811.jpg', 2), ('/home/nano/Desktop/images/12122025/13/28/image_12122025_13_28_15_10657.jpg', 2), ('/home/nano/Desktop/images/12122025/13/27/image_12122025_13_28_04_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/13/27/image_12122025_13_27_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:29:03.166864 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/28/image_12122025_13_28_45_10782.jpg', 2), ('/home/nano/Desktop/images/12122025/13/28/image_12122025_13_28_34_9648.jpg', 2), ('/home/nano/Desktop/images/12122025/13/28/image_12122025_13_28_25_9811.jpg', 2), ('/home/nano/Desktop/images/12122025/13/28/image_12122025_13_28_15_10657.jpg', 2), ('/home/nano/Desktop/images/12122025/13/27/image_12122025_13_28_04_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/13/27/image_12122025_13_27_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:29:32.055968 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/29/image_12122025_13_29_44_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/13/29/image_12122025_13_29_34_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/13/29/image_12122025_13_29_25_10738.jpg', 2), ('/home/nano/Desktop/images/12122025/13/29/image_12122025_13_29_14_9676.jpg', 2), ('/home/nano/Desktop/images/12122025/13/28/image_12122025_13_29_04_9736.jpg', 2), ('/home/nano/Desktop/images/12122025/13/28/image_12122025_13_28_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:30:02.590557 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/29/image_12122025_13_29_44_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/13/29/image_12122025_13_29_34_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/13/29/image_12122025_13_29_25_10738.jpg', 2), ('/home/nano/Desktop/images/12122025/13/29/image_12122025_13_29_14_9676.jpg', 2), ('/home/nano/Desktop/images/12122025/13/28/image_12122025_13_29_04_9736.jpg', 2), ('/home/nano/Desktop/images/12122025/13/28/image_12122025_13_28_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:30:32.167305 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/30/image_12122025_13_30_45_9724.jpg', 2), ('/home/nano/Desktop/images/12122025/13/30/image_12122025_13_30_35_10723.jpg', 2), ('/home/nano/Desktop/images/12122025/13/30/image_12122025_13_30_24_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/13/30/image_12122025_13_30_15_9794.jpg', 2), ('/home/nano/Desktop/images/12122025/13/29/image_12122025_13_30_05_10027.jpg', 2), ('/home/nano/Desktop/images/12122025/13/29/image_12122025_13_29_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:31:03.003532 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/30/image_12122025_13_30_45_9724.jpg', 2), ('/home/nano/Desktop/images/12122025/13/30/image_12122025_13_30_35_10723.jpg', 2), ('/home/nano/Desktop/images/12122025/13/30/image_12122025_13_30_24_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/13/30/image_12122025_13_30_15_9794.jpg', 2), ('/home/nano/Desktop/images/12122025/13/29/image_12122025_13_30_05_10027.jpg', 2), ('/home/nano/Desktop/images/12122025/13/29/image_12122025_13_29_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:31:32.252299 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/31/image_12122025_13_31_45_9712.jpg', 2), ('/home/nano/Desktop/images/12122025/13/31/image_12122025_13_31_35_10643.jpg', 2), ('/home/nano/Desktop/images/12122025/13/31/image_12122025_13_31_24_9793.jpg', 2), ('/home/nano/Desktop/images/12122025/13/31/image_12122025_13_31_15_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/13/30/image_12122025_13_31_05_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/13/30/image_12122025_13_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:32:02.915515 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/31/image_12122025_13_31_45_9712.jpg', 2), ('/home/nano/Desktop/images/12122025/13/31/image_12122025_13_31_35_10643.jpg', 2), ('/home/nano/Desktop/images/12122025/13/31/image_12122025_13_31_24_9793.jpg', 2), ('/home/nano/Desktop/images/12122025/13/31/image_12122025_13_31_15_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/13/30/image_12122025_13_31_05_10595.jpg', 2), ('/home/nano/Desktop/images/12122025/13/30/image_12122025_13_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:32:32.321336 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/32/image_12122025_13_32_45_9708.jpg', 2), ('/home/nano/Desktop/images/12122025/13/32/image_12122025_13_32_35_10617.jpg', 2), ('/home/nano/Desktop/images/12122025/13/32/image_12122025_13_32_24_9677.jpg', 2), ('/home/nano/Desktop/images/12122025/13/32/image_12122025_13_32_15_10616.jpg', 2), ('/home/nano/Desktop/images/12122025/13/31/image_12122025_13_32_04_9724.jpg', 2), ('/home/nano/Desktop/images/12122025/13/31/image_12122025_13_31_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:33:03.054570 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/32/image_12122025_13_32_45_9708.jpg', 2), ('/home/nano/Desktop/images/12122025/13/32/image_12122025_13_32_35_10617.jpg', 2), ('/home/nano/Desktop/images/12122025/13/32/image_12122025_13_32_24_9677.jpg', 2), ('/home/nano/Desktop/images/12122025/13/32/image_12122025_13_32_15_10616.jpg', 2), ('/home/nano/Desktop/images/12122025/13/31/image_12122025_13_32_04_9724.jpg', 2), ('/home/nano/Desktop/images/12122025/13/31/image_12122025_13_31_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:33:32.485543 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/33/image_12122025_13_33_45_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/13/33/image_12122025_13_33_34_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/13/33/image_12122025_13_33_25_9742.jpg', 2), ('/home/nano/Desktop/images/12122025/13/33/image_12122025_13_33_15_10777.jpg', 2), ('/home/nano/Desktop/images/12122025/13/32/image_12122025_13_33_04_9733.jpg', 2), ('/home/nano/Desktop/images/12122025/13/32/image_12122025_13_32_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:34:03.694876 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/33/image_12122025_13_33_45_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/13/33/image_12122025_13_33_34_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/13/33/image_12122025_13_33_25_9742.jpg', 2), ('/home/nano/Desktop/images/12122025/13/33/image_12122025_13_33_15_10777.jpg', 2), ('/home/nano/Desktop/images/12122025/13/32/image_12122025_13_33_04_9733.jpg', 2), ('/home/nano/Desktop/images/12122025/13/32/image_12122025_13_32_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:34:32.687416 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/34/image_12122025_13_34_45_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/13/34/image_12122025_13_34_35_10619.jpg', 2), ('/home/nano/Desktop/images/12122025/13/34/image_12122025_13_34_15_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/13/33/image_12122025_13_34_04_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/13/33/image_12122025_13_33_55_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/13/33/image_12122025_13_33_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:35:02.435780 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/34/image_12122025_13_34_45_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/13/34/image_12122025_13_34_35_10619.jpg', 2), ('/home/nano/Desktop/images/12122025/13/34/image_12122025_13_34_15_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/13/33/image_12122025_13_34_04_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/13/33/image_12122025_13_33_55_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/13/33/image_12122025_13_33_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:35:31.830139 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/35/image_12122025_13_35_44_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/13/35/image_12122025_13_35_35_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/13/35/image_12122025_13_35_15_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/13/34/image_12122025_13_35_05_10626.jpg', 2), ('/home/nano/Desktop/images/12122025/13/34/image_12122025_13_34_54_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/13/34/image_12122025_13_34_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:36:02.367784 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/35/image_12122025_13_35_44_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/13/35/image_12122025_13_35_35_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/13/35/image_12122025_13_35_15_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/13/34/image_12122025_13_35_05_10626.jpg', 2), ('/home/nano/Desktop/images/12122025/13/34/image_12122025_13_34_54_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/13/34/image_12122025_13_34_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:36:31.914628 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/36/image_12122025_13_36_45_10617.jpg', 2), ('/home/nano/Desktop/images/12122025/13/36/image_12122025_13_36_34_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/13/36/image_12122025_13_36_25_10617.jpg', 2), ('/home/nano/Desktop/images/12122025/13/35/image_12122025_13_36_05_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/13/35/image_12122025_13_35_55_10606.jpg', 2), ('/home/nano/Desktop/images/12122025/13/35/image_12122025_13_35_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:37:02.772787 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/36/image_12122025_13_36_45_10617.jpg', 2), ('/home/nano/Desktop/images/12122025/13/36/image_12122025_13_36_34_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/13/36/image_12122025_13_36_25_10617.jpg', 2), ('/home/nano/Desktop/images/12122025/13/35/image_12122025_13_36_05_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/13/35/image_12122025_13_35_55_10606.jpg', 2), ('/home/nano/Desktop/images/12122025/13/35/image_12122025_13_35_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:37:31.995764 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/37/image_12122025_13_37_34_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/13/37/image_12122025_13_37_25_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/13/37/image_12122025_13_37_15_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/13/36/image_12122025_13_37_04_9641.jpg', 2), ('/home/nano/Desktop/images/12122025/13/36/image_12122025_13_36_55_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/13/36/image_12122025_13_36_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:38:02.635419 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/37/image_12122025_13_37_34_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/13/37/image_12122025_13_37_25_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/13/37/image_12122025_13_37_15_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/13/36/image_12122025_13_37_04_9641.jpg', 2), ('/home/nano/Desktop/images/12122025/13/36/image_12122025_13_36_55_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/13/36/image_12122025_13_36_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:38:32.135837 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/38/image_12122025_13_38_44_9614.jpg', 2), ('/home/nano/Desktop/images/12122025/13/38/image_12122025_13_38_35_10618.jpg', 2), ('/home/nano/Desktop/images/12122025/13/38/image_12122025_13_38_24_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/13/38/image_12122025_13_38_15_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/13/37/image_12122025_13_38_05_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/13/37/image_12122025_13_37_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:39:03.143434 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/38/image_12122025_13_38_44_9614.jpg', 2), ('/home/nano/Desktop/images/12122025/13/38/image_12122025_13_38_35_10618.jpg', 2), ('/home/nano/Desktop/images/12122025/13/38/image_12122025_13_38_24_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/13/38/image_12122025_13_38_15_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/13/37/image_12122025_13_38_05_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/13/37/image_12122025_13_37_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:39:32.219470 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/39/image_12122025_13_39_35_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/13/39/image_12122025_13_39_25_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/13/39/image_12122025_13_39_14_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/13/38/image_12122025_13_39_05_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/13/38/image_12122025_13_38_55_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/13/38/image_12122025_13_38_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:40:02.980348 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/39/image_12122025_13_39_35_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/13/39/image_12122025_13_39_25_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/13/39/image_12122025_13_39_14_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/13/38/image_12122025_13_39_05_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/13/38/image_12122025_13_38_55_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/13/38/image_12122025_13_38_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:40:32.339677 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/40/image_12122025_13_40_45_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/13/40/image_12122025_13_40_34_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/13/40/image_12122025_13_40_25_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/13/39/image_12122025_13_40_04_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/13/39/image_12122025_13_39_55_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/13/39/image_12122025_13_39_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:41:03.156968 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/40/image_12122025_13_41_05_10628.jpg', 2), ('/home/nano/Desktop/images/12122025/13/40/image_12122025_13_40_45_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/13/40/image_12122025_13_40_34_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/13/40/image_12122025_13_40_25_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/13/39/image_12122025_13_40_04_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/13/39/image_12122025_13_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:41:32.472941 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/40/image_12122025_13_41_05_10628.jpg', 2), ('/home/nano/Desktop/images/12122025/13/40/image_12122025_13_40_54_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/13/40/image_12122025_13_40_45_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/13/40/image_12122025_13_40_34_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/13/40/image_12122025_13_40_25_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/13/39/image_12122025_13_40_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:42:03.048963 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/40/image_12122025_13_41_05_10628.jpg', 2), ('/home/nano/Desktop/images/12122025/13/40/image_12122025_13_40_54_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/13/40/image_12122025_13_40_45_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/13/40/image_12122025_13_40_34_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/13/40/image_12122025_13_40_25_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/13/39/image_12122025_13_40_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:42:32.510670 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/40/image_12122025_13_41_05_10628.jpg', 2), ('/home/nano/Desktop/images/12122025/13/40/image_12122025_13_40_54_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/13/40/image_12122025_13_40_45_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/13/40/image_12122025_13_40_34_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/13/40/image_12122025_13_40_25_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/13/39/image_12122025_13_40_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:43:03.256984 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/40/image_12122025_13_41_05_10628.jpg', 2), ('/home/nano/Desktop/images/12122025/13/40/image_12122025_13_40_54_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/13/40/image_12122025_13_40_45_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/13/40/image_12122025_13_40_34_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/13/40/image_12122025_13_40_25_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/13/39/image_12122025_13_40_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:43:32.622372 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/43/image_12122025_13_43_14_9647.jpg', 2), ('/home/nano/Desktop/images/12122025/13/41/image_12122025_13_41_15_9653.jpg', 2), ('/home/nano/Desktop/images/12122025/13/40/image_12122025_13_41_05_10628.jpg', 2), ('/home/nano/Desktop/images/12122025/13/40/image_12122025_13_40_54_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/13/40/image_12122025_13_40_45_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/13/40/image_12122025_13_40_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:44:03.696415 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/43/image_12122025_13_43_14_9647.jpg', 2), ('/home/nano/Desktop/images/12122025/13/41/image_12122025_13_41_15_9653.jpg', 2), ('/home/nano/Desktop/images/12122025/13/40/image_12122025_13_41_05_10628.jpg', 2), ('/home/nano/Desktop/images/12122025/13/40/image_12122025_13_40_54_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/13/40/image_12122025_13_40_45_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/13/40/image_12122025_13_40_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:44:32.727958 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/44/image_12122025_13_44_25_10655.jpg', 2), ('/home/nano/Desktop/images/12122025/13/43/image_12122025_13_43_25_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/13/43/image_12122025_13_43_14_9647.jpg', 2), ('/home/nano/Desktop/images/12122025/13/41/image_12122025_13_41_15_9653.jpg', 2), ('/home/nano/Desktop/images/12122025/13/40/image_12122025_13_41_05_10628.jpg', 2), ('/home/nano/Desktop/images/12122025/13/40/image_12122025_13_40_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:45:02.492033 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/44/image_12122025_13_44_25_10655.jpg', 2), ('/home/nano/Desktop/images/12122025/13/43/image_12122025_13_43_25_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/13/43/image_12122025_13_43_14_9647.jpg', 2), ('/home/nano/Desktop/images/12122025/13/41/image_12122025_13_41_15_9653.jpg', 2), ('/home/nano/Desktop/images/12122025/13/40/image_12122025_13_41_05_10628.jpg', 2), ('/home/nano/Desktop/images/12122025/13/40/image_12122025_13_40_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:45:31.869800 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/44/image_12122025_13_44_25_10655.jpg', 2), ('/home/nano/Desktop/images/12122025/13/43/image_12122025_13_43_25_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/13/43/image_12122025_13_43_14_9647.jpg', 2), ('/home/nano/Desktop/images/12122025/13/41/image_12122025_13_41_15_9653.jpg', 2), ('/home/nano/Desktop/images/12122025/13/40/image_12122025_13_41_05_10628.jpg', 2), ('/home/nano/Desktop/images/12122025/13/40/image_12122025_13_40_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:46:02.471847 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/44/image_12122025_13_44_25_10655.jpg', 2), ('/home/nano/Desktop/images/12122025/13/43/image_12122025_13_43_25_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/13/43/image_12122025_13_43_14_9647.jpg', 2), ('/home/nano/Desktop/images/12122025/13/41/image_12122025_13_41_15_9653.jpg', 2), ('/home/nano/Desktop/images/12122025/13/40/image_12122025_13_41_05_10628.jpg', 2), ('/home/nano/Desktop/images/12122025/13/40/image_12122025_13_40_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:46:31.981895 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/45/image_12122025_13_46_04_9647.jpg', 2), ('/home/nano/Desktop/images/12122025/13/44/image_12122025_13_44_35_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/13/44/image_12122025_13_44_25_10655.jpg', 2), ('/home/nano/Desktop/images/12122025/13/43/image_12122025_13_43_25_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/13/43/image_12122025_13_43_14_9647.jpg', 2), ('/home/nano/Desktop/images/12122025/13/41/image_12122025_13_41_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:47:02.708716 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/45/image_12122025_13_46_04_9647.jpg', 2), ('/home/nano/Desktop/images/12122025/13/44/image_12122025_13_44_35_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/13/44/image_12122025_13_44_25_10655.jpg', 2), ('/home/nano/Desktop/images/12122025/13/43/image_12122025_13_43_25_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/13/43/image_12122025_13_43_14_9647.jpg', 2), ('/home/nano/Desktop/images/12122025/13/41/image_12122025_13_41_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:47:32.052113 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/47/image_12122025_13_47_24_9643.jpg', 2), ('/home/nano/Desktop/images/12122025/13/46/image_12122025_13_46_15_10654.jpg', 2), ('/home/nano/Desktop/images/12122025/13/45/image_12122025_13_46_04_9647.jpg', 2), ('/home/nano/Desktop/images/12122025/13/44/image_12122025_13_44_35_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/13/44/image_12122025_13_44_25_10655.jpg', 2), ('/home/nano/Desktop/images/12122025/13/43/image_12122025_13_43_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:48:02.546142 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/47/image_12122025_13_47_24_9643.jpg', 2), ('/home/nano/Desktop/images/12122025/13/46/image_12122025_13_46_15_10654.jpg', 2), ('/home/nano/Desktop/images/12122025/13/45/image_12122025_13_46_04_9647.jpg', 2), ('/home/nano/Desktop/images/12122025/13/44/image_12122025_13_44_35_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/13/44/image_12122025_13_44_25_10655.jpg', 2), ('/home/nano/Desktop/images/12122025/13/43/image_12122025_13_43_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:48:32.147706 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/48/image_12122025_13_48_15_9634.jpg', 2), ('/home/nano/Desktop/images/12122025/13/47/image_12122025_13_47_35_10637.jpg', 2), ('/home/nano/Desktop/images/12122025/13/47/image_12122025_13_47_24_9643.jpg', 2), ('/home/nano/Desktop/images/12122025/13/46/image_12122025_13_46_15_10654.jpg', 2), ('/home/nano/Desktop/images/12122025/13/45/image_12122025_13_46_04_9647.jpg', 2), ('/home/nano/Desktop/images/12122025/13/44/image_12122025_13_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:49:03.414901 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/48/image_12122025_13_48_15_9634.jpg', 2), ('/home/nano/Desktop/images/12122025/13/47/image_12122025_13_47_35_10637.jpg', 2), ('/home/nano/Desktop/images/12122025/13/47/image_12122025_13_47_24_9643.jpg', 2), ('/home/nano/Desktop/images/12122025/13/46/image_12122025_13_46_15_10654.jpg', 2), ('/home/nano/Desktop/images/12122025/13/45/image_12122025_13_46_04_9647.jpg', 2), ('/home/nano/Desktop/images/12122025/13/44/image_12122025_13_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:49:32.270537 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/48/image_12122025_13_48_15_9634.jpg', 2), ('/home/nano/Desktop/images/12122025/13/47/image_12122025_13_47_35_10637.jpg', 2), ('/home/nano/Desktop/images/12122025/13/47/image_12122025_13_47_24_9643.jpg', 2), ('/home/nano/Desktop/images/12122025/13/46/image_12122025_13_46_15_10654.jpg', 2), ('/home/nano/Desktop/images/12122025/13/45/image_12122025_13_46_04_9647.jpg', 2), ('/home/nano/Desktop/images/12122025/13/44/image_12122025_13_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:50:02.844800 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/48/image_12122025_13_48_15_9634.jpg', 2), ('/home/nano/Desktop/images/12122025/13/47/image_12122025_13_47_35_10637.jpg', 2), ('/home/nano/Desktop/images/12122025/13/47/image_12122025_13_47_24_9643.jpg', 2), ('/home/nano/Desktop/images/12122025/13/46/image_12122025_13_46_15_10654.jpg', 2), ('/home/nano/Desktop/images/12122025/13/45/image_12122025_13_46_04_9647.jpg', 2), ('/home/nano/Desktop/images/12122025/13/44/image_12122025_13_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:50:32.409792 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/50/image_12122025_13_50_14_9650.jpg', 2), ('/home/nano/Desktop/images/12122025/13/48/image_12122025_13_48_15_9634.jpg', 2), ('/home/nano/Desktop/images/12122025/13/47/image_12122025_13_47_35_10637.jpg', 2), ('/home/nano/Desktop/images/12122025/13/47/image_12122025_13_47_24_9643.jpg', 2), ('/home/nano/Desktop/images/12122025/13/46/image_12122025_13_46_15_10654.jpg', 2), ('/home/nano/Desktop/images/12122025/13/45/image_12122025_13_46_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:51:03.165702 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/50/image_12122025_13_50_14_9650.jpg', 2), ('/home/nano/Desktop/images/12122025/13/48/image_12122025_13_48_15_9634.jpg', 2), ('/home/nano/Desktop/images/12122025/13/47/image_12122025_13_47_35_10637.jpg', 2), ('/home/nano/Desktop/images/12122025/13/47/image_12122025_13_47_24_9643.jpg', 2), ('/home/nano/Desktop/images/12122025/13/46/image_12122025_13_46_15_10654.jpg', 2), ('/home/nano/Desktop/images/12122025/13/45/image_12122025_13_46_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:51:32.576623 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/50/image_12122025_13_50_14_9650.jpg', 2), ('/home/nano/Desktop/images/12122025/13/48/image_12122025_13_48_24_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/13/48/image_12122025_13_48_15_9634.jpg', 2), ('/home/nano/Desktop/images/12122025/13/47/image_12122025_13_47_35_10637.jpg', 2), ('/home/nano/Desktop/images/12122025/13/47/image_12122025_13_47_24_9643.jpg', 2), ('/home/nano/Desktop/images/12122025/13/46/image_12122025_13_46_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:52:03.200865 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/50/image_12122025_13_50_14_9650.jpg', 2), ('/home/nano/Desktop/images/12122025/13/48/image_12122025_13_48_24_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/13/48/image_12122025_13_48_15_9634.jpg', 2), ('/home/nano/Desktop/images/12122025/13/47/image_12122025_13_47_35_10637.jpg', 2), ('/home/nano/Desktop/images/12122025/13/47/image_12122025_13_47_24_9643.jpg', 2), ('/home/nano/Desktop/images/12122025/13/46/image_12122025_13_46_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:52:32.605859 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/51/image_12122025_13_51_55_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/13/50/image_12122025_13_50_14_9650.jpg', 2), ('/home/nano/Desktop/images/12122025/13/48/image_12122025_13_48_24_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/13/48/image_12122025_13_48_15_9634.jpg', 2), ('/home/nano/Desktop/images/12122025/13/47/image_12122025_13_47_35_10637.jpg', 2), ('/home/nano/Desktop/images/12122025/13/47/image_12122025_13_47_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:53:03.470811 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/51/image_12122025_13_51_55_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/13/50/image_12122025_13_50_14_9650.jpg', 2), ('/home/nano/Desktop/images/12122025/13/48/image_12122025_13_48_24_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/13/48/image_12122025_13_48_15_9634.jpg', 2), ('/home/nano/Desktop/images/12122025/13/47/image_12122025_13_47_35_10637.jpg', 2), ('/home/nano/Desktop/images/12122025/13/47/image_12122025_13_47_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:53:32.702350 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/51/image_12122025_13_52_04_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/13/51/image_12122025_13_51_55_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/13/50/image_12122025_13_50_14_9650.jpg', 2), ('/home/nano/Desktop/images/12122025/13/48/image_12122025_13_48_24_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/13/48/image_12122025_13_48_15_9634.jpg', 2), ('/home/nano/Desktop/images/12122025/13/47/image_12122025_13_47_35_10637.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:54:02.736210 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/51/image_12122025_13_52_04_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/13/51/image_12122025_13_51_55_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/13/50/image_12122025_13_50_14_9650.jpg', 2), ('/home/nano/Desktop/images/12122025/13/48/image_12122025_13_48_24_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/13/48/image_12122025_13_48_15_9634.jpg', 2), ('/home/nano/Desktop/images/12122025/13/47/image_12122025_13_47_35_10637.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:54:31.854245 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/54/image_12122025_13_54_44_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/13/53/image_12122025_13_54_05_10646.jpg', 2), ('/home/nano/Desktop/images/12122025/13/53/image_12122025_13_53_54_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/13/51/image_12122025_13_52_04_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/13/51/image_12122025_13_51_55_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/13/50/image_12122025_13_50_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:55:02.708538 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/54/image_12122025_13_54_44_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/13/53/image_12122025_13_54_05_10646.jpg', 2), ('/home/nano/Desktop/images/12122025/13/53/image_12122025_13_53_54_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/13/51/image_12122025_13_52_04_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/13/51/image_12122025_13_51_55_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/13/50/image_12122025_13_50_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:55:31.928127 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/55/image_12122025_13_55_35_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/13/55/image_12122025_13_55_25_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/13/55/image_12122025_13_55_14_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/13/54/image_12122025_13_54_55_10652.jpg', 2), ('/home/nano/Desktop/images/12122025/13/54/image_12122025_13_54_44_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/13/53/image_12122025_13_54_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:56:02.648234 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/55/image_12122025_13_55_35_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/13/55/image_12122025_13_55_25_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/13/55/image_12122025_13_55_14_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/13/54/image_12122025_13_54_55_10652.jpg', 2), ('/home/nano/Desktop/images/12122025/13/54/image_12122025_13_54_44_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/13/53/image_12122025_13_54_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:56:32.018785 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/55/image_12122025_13_55_35_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/13/55/image_12122025_13_55_25_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/13/55/image_12122025_13_55_14_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/13/54/image_12122025_13_54_55_10652.jpg', 2), ('/home/nano/Desktop/images/12122025/13/54/image_12122025_13_54_44_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/13/53/image_12122025_13_54_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:57:02.877128 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/55/image_12122025_13_55_35_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/13/55/image_12122025_13_55_25_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/13/55/image_12122025_13_55_14_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/13/54/image_12122025_13_54_55_10652.jpg', 2), ('/home/nano/Desktop/images/12122025/13/54/image_12122025_13_54_44_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/13/53/image_12122025_13_54_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:57:32.123168 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/57/image_12122025_13_57_15_10652.jpg', 2), ('/home/nano/Desktop/images/12122025/13/55/image_12122025_13_55_44_9631.jpg', 2), ('/home/nano/Desktop/images/12122025/13/55/image_12122025_13_55_35_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/13/55/image_12122025_13_55_25_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/13/55/image_12122025_13_55_14_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/13/54/image_12122025_13_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:59:03.252196 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/59/image_12122025_13_59_24_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/13/58/image_12122025_13_58_35_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/13/58/image_12122025_13_58_24_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/13/58/image_12122025_13_58_15_10657.jpg', 2), ('/home/nano/Desktop/images/12122025/13/57/image_12122025_13_57_25_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/13/57/image_12122025_13_57_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 13:59:32.288998 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/59/image_12122025_13_59_24_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/13/58/image_12122025_13_58_45_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/13/58/image_12122025_13_58_35_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/13/58/image_12122025_13_58_24_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/13/58/image_12122025_13_58_15_10657.jpg', 2), ('/home/nano/Desktop/images/12122025/13/57/image_12122025_13_57_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:00:02.829620 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/59/image_12122025_13_59_24_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/13/58/image_12122025_13_58_45_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/13/58/image_12122025_13_58_35_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/13/58/image_12122025_13_58_24_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/13/58/image_12122025_13_58_15_10657.jpg', 2), ('/home/nano/Desktop/images/12122025/13/57/image_12122025_13_57_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:00:32.402547 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/59/image_12122025_14_00_05_10645.jpg', 2), ('/home/nano/Desktop/images/12122025/13/59/image_12122025_13_59_54_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/13/59/image_12122025_13_59_24_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/13/58/image_12122025_13_58_45_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/13/58/image_12122025_13_58_35_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/13/58/image_12122025_13_58_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:01:03.327361 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/13/59/image_12122025_14_00_05_10645.jpg', 2), ('/home/nano/Desktop/images/12122025/13/59/image_12122025_13_59_54_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/13/59/image_12122025_13_59_24_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/13/58/image_12122025_13_58_45_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/13/58/image_12122025_13_58_35_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/13/58/image_12122025_13_58_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:01:32.479068 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/01/image_12122025_14_01_44_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/14/01/image_12122025_14_01_34_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/14/01/image_12122025_14_01_25_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/14/00/image_12122025_14_01_05_9647.jpg', 2), ('/home/nano/Desktop/images/12122025/14/00/image_12122025_14_00_55_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/13/59/image_12122025_14_00_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:02:03.165434 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/01/image_12122025_14_01_44_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/14/01/image_12122025_14_01_34_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/14/01/image_12122025_14_01_25_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/14/00/image_12122025_14_01_05_9647.jpg', 2), ('/home/nano/Desktop/images/12122025/14/00/image_12122025_14_00_55_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/13/59/image_12122025_14_00_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:02:32.606708 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/02/image_12122025_14_02_34_9643.jpg', 2), ('/home/nano/Desktop/images/12122025/14/01/image_12122025_14_01_55_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/14/01/image_12122025_14_01_44_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/14/01/image_12122025_14_01_34_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/14/01/image_12122025_14_01_25_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/14/00/image_12122025_14_01_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:03:03.399596 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/02/image_12122025_14_02_34_9643.jpg', 2), ('/home/nano/Desktop/images/12122025/14/01/image_12122025_14_01_55_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/14/01/image_12122025_14_01_44_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/14/01/image_12122025_14_01_34_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/14/01/image_12122025_14_01_25_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/14/00/image_12122025_14_01_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:03:32.669869 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/02/image_12122025_14_02_55_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/14/02/image_12122025_14_02_34_9643.jpg', 2), ('/home/nano/Desktop/images/12122025/14/01/image_12122025_14_01_55_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/14/01/image_12122025_14_01_44_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/14/01/image_12122025_14_01_34_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/14/01/image_12122025_14_01_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:04:02.496132 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/02/image_12122025_14_02_55_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/14/02/image_12122025_14_02_34_9643.jpg', 2), ('/home/nano/Desktop/images/12122025/14/01/image_12122025_14_01_55_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/14/01/image_12122025_14_01_44_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/14/01/image_12122025_14_01_34_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/14/01/image_12122025_14_01_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:04:31.753598 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/04/image_12122025_14_04_35_10637.jpg', 2), ('/home/nano/Desktop/images/12122025/14/04/image_12122025_14_04_15_9643.jpg', 2), ('/home/nano/Desktop/images/12122025/14/03/image_12122025_14_04_05_10645.jpg', 2), ('/home/nano/Desktop/images/12122025/14/03/image_12122025_14_03_54_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/14/02/image_12122025_14_02_55_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/14/02/image_12122025_14_02_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:05:02.504239 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/04/image_12122025_14_04_35_10637.jpg', 2), ('/home/nano/Desktop/images/12122025/14/04/image_12122025_14_04_15_9643.jpg', 2), ('/home/nano/Desktop/images/12122025/14/03/image_12122025_14_04_05_10645.jpg', 2), ('/home/nano/Desktop/images/12122025/14/03/image_12122025_14_03_54_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/14/02/image_12122025_14_02_55_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/14/02/image_12122025_14_02_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:05:31.923214 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/05/image_12122025_14_05_44_9643.jpg', 2), ('/home/nano/Desktop/images/12122025/14/05/image_12122025_14_05_35_9641.jpg', 2), ('/home/nano/Desktop/images/12122025/14/05/image_12122025_14_05_14_9632.jpg', 2), ('/home/nano/Desktop/images/12122025/14/04/image_12122025_14_04_54_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/14/04/image_12122025_14_04_35_10637.jpg', 2), ('/home/nano/Desktop/images/12122025/14/04/image_12122025_14_04_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:06:02.634677 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/05/image_12122025_14_05_44_9643.jpg', 2), ('/home/nano/Desktop/images/12122025/14/05/image_12122025_14_05_35_9641.jpg', 2), ('/home/nano/Desktop/images/12122025/14/05/image_12122025_14_05_14_9632.jpg', 2), ('/home/nano/Desktop/images/12122025/14/04/image_12122025_14_04_54_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/14/04/image_12122025_14_04_35_10637.jpg', 2), ('/home/nano/Desktop/images/12122025/14/04/image_12122025_14_04_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:06:32.019459 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/05/image_12122025_14_06_05_9652.jpg', 2), ('/home/nano/Desktop/images/12122025/14/05/image_12122025_14_05_55_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/14/05/image_12122025_14_05_44_9643.jpg', 2), ('/home/nano/Desktop/images/12122025/14/05/image_12122025_14_05_35_9641.jpg', 2), ('/home/nano/Desktop/images/12122025/14/05/image_12122025_14_05_14_9632.jpg', 2), ('/home/nano/Desktop/images/12122025/14/04/image_12122025_14_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:07:02.972616 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/05/image_12122025_14_06_05_9652.jpg', 2), ('/home/nano/Desktop/images/12122025/14/05/image_12122025_14_05_55_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/14/05/image_12122025_14_05_44_9643.jpg', 2), ('/home/nano/Desktop/images/12122025/14/05/image_12122025_14_05_35_9641.jpg', 2), ('/home/nano/Desktop/images/12122025/14/05/image_12122025_14_05_14_9632.jpg', 2), ('/home/nano/Desktop/images/12122025/14/04/image_12122025_14_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:07:32.105301 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/07/image_12122025_14_07_34_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/14/07/image_12122025_14_07_25_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/14/07/image_12122025_14_07_14_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/14/06/image_12122025_14_07_04_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/14/06/image_12122025_14_06_35_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/14/05/image_12122025_14_06_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:08:02.691473 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/07/image_12122025_14_07_34_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/14/07/image_12122025_14_07_25_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/14/07/image_12122025_14_07_14_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/14/06/image_12122025_14_07_04_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/14/06/image_12122025_14_06_35_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/14/05/image_12122025_14_06_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:08:32.221185 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/08/image_12122025_14_08_34_9643.jpg', 2), ('/home/nano/Desktop/images/12122025/14/07/image_12122025_14_08_04_9643.jpg', 2), ('/home/nano/Desktop/images/12122025/14/07/image_12122025_14_07_45_10640.jpg', 2), ('/home/nano/Desktop/images/12122025/14/07/image_12122025_14_07_34_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/14/07/image_12122025_14_07_25_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/14/07/image_12122025_14_07_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:09:03.212007 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/08/image_12122025_14_08_34_9643.jpg', 2), ('/home/nano/Desktop/images/12122025/14/07/image_12122025_14_08_04_9643.jpg', 2), ('/home/nano/Desktop/images/12122025/14/07/image_12122025_14_07_45_10640.jpg', 2), ('/home/nano/Desktop/images/12122025/14/07/image_12122025_14_07_34_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/14/07/image_12122025_14_07_25_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/14/07/image_12122025_14_07_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:09:32.297996 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/09/image_12122025_14_09_35_10638.jpg', 2), ('/home/nano/Desktop/images/12122025/14/09/image_12122025_14_09_15_10655.jpg', 2), ('/home/nano/Desktop/images/12122025/14/08/image_12122025_14_08_34_9643.jpg', 2), ('/home/nano/Desktop/images/12122025/14/08/image_12122025_14_08_25_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/14/07/image_12122025_14_08_04_9643.jpg', 2), ('/home/nano/Desktop/images/12122025/14/07/image_12122025_14_07_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:10:02.886414 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/09/image_12122025_14_09_35_10638.jpg', 2), ('/home/nano/Desktop/images/12122025/14/09/image_12122025_14_09_15_10655.jpg', 2), ('/home/nano/Desktop/images/12122025/14/08/image_12122025_14_08_34_9643.jpg', 2), ('/home/nano/Desktop/images/12122025/14/08/image_12122025_14_08_25_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/14/07/image_12122025_14_08_04_9643.jpg', 2), ('/home/nano/Desktop/images/12122025/14/07/image_12122025_14_07_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:10:32.399436 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/10/image_12122025_14_10_35_10652.jpg', 2), ('/home/nano/Desktop/images/12122025/14/09/image_12122025_14_10_05_10641.jpg', 2), ('/home/nano/Desktop/images/12122025/14/09/image_12122025_14_09_54_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/14/09/image_12122025_14_09_35_10638.jpg', 2), ('/home/nano/Desktop/images/12122025/14/09/image_12122025_14_09_15_10655.jpg', 2), ('/home/nano/Desktop/images/12122025/14/08/image_12122025_14_08_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:11:03.275013 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/10/image_12122025_14_10_35_10652.jpg', 2), ('/home/nano/Desktop/images/12122025/14/09/image_12122025_14_10_05_10641.jpg', 2), ('/home/nano/Desktop/images/12122025/14/09/image_12122025_14_09_54_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/14/09/image_12122025_14_09_35_10638.jpg', 2), ('/home/nano/Desktop/images/12122025/14/09/image_12122025_14_09_15_10655.jpg', 2), ('/home/nano/Desktop/images/12122025/14/08/image_12122025_14_08_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:11:32.506492 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/11/image_12122025_14_11_14_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/14/10/image_12122025_14_11_05_10638.jpg', 2), ('/home/nano/Desktop/images/12122025/14/10/image_12122025_14_10_54_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/14/10/image_12122025_14_10_35_10652.jpg', 2), ('/home/nano/Desktop/images/12122025/14/09/image_12122025_14_10_05_10641.jpg', 2), ('/home/nano/Desktop/images/12122025/14/09/image_12122025_14_09_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:12:03.197821 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/11/image_12122025_14_11_14_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/14/10/image_12122025_14_11_05_10638.jpg', 2), ('/home/nano/Desktop/images/12122025/14/10/image_12122025_14_10_54_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/14/10/image_12122025_14_10_35_10652.jpg', 2), ('/home/nano/Desktop/images/12122025/14/09/image_12122025_14_10_05_10641.jpg', 2), ('/home/nano/Desktop/images/12122025/14/09/image_12122025_14_09_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:12:32.705711 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/12/image_12122025_14_12_44_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/14/12/image_12122025_14_12_35_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/14/12/image_12122025_14_12_25_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/14/11/image_12122025_14_12_05_9653.jpg', 2), ('/home/nano/Desktop/images/12122025/14/11/image_12122025_14_11_55_10638.jpg', 2), ('/home/nano/Desktop/images/12122025/14/11/image_12122025_14_11_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:13:02.474868 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/12/image_12122025_14_12_44_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/14/12/image_12122025_14_12_35_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/14/12/image_12122025_14_12_25_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/14/11/image_12122025_14_12_05_9653.jpg', 2), ('/home/nano/Desktop/images/12122025/14/11/image_12122025_14_11_55_10638.jpg', 2), ('/home/nano/Desktop/images/12122025/14/11/image_12122025_14_11_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:13:31.818427 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/13/image_12122025_14_13_34_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/14/13/image_12122025_14_13_15_10666.jpg', 2), ('/home/nano/Desktop/images/12122025/14/12/image_12122025_14_13_04_9631.jpg', 2), ('/home/nano/Desktop/images/12122025/14/12/image_12122025_14_12_55_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/14/12/image_12122025_14_12_44_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/14/12/image_12122025_14_12_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:14:02.930985 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/13/image_12122025_14_13_34_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/14/13/image_12122025_14_13_15_10666.jpg', 2), ('/home/nano/Desktop/images/12122025/14/12/image_12122025_14_13_04_9631.jpg', 2), ('/home/nano/Desktop/images/12122025/14/12/image_12122025_14_12_55_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/14/12/image_12122025_14_12_44_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/14/12/image_12122025_14_12_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:14:31.967901 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/14/image_12122025_14_14_34_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/14/14/image_12122025_14_14_25_9649.jpg', 2), ('/home/nano/Desktop/images/12122025/14/14/image_12122025_14_14_15_10654.jpg', 2), ('/home/nano/Desktop/images/12122025/14/13/image_12122025_14_13_45_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/14/13/image_12122025_14_13_34_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/14/13/image_12122025_14_13_15_10666.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:15:02.760397 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/14/image_12122025_14_14_34_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/14/14/image_12122025_14_14_25_9649.jpg', 2), ('/home/nano/Desktop/images/12122025/14/14/image_12122025_14_14_15_10654.jpg', 2), ('/home/nano/Desktop/images/12122025/14/13/image_12122025_14_13_45_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/14/13/image_12122025_14_13_34_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/14/13/image_12122025_14_13_15_10666.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:15:32.068209 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/15/image_12122025_14_15_24_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/14/15/image_12122025_14_15_15_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/14/14/image_12122025_14_14_45_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/14/14/image_12122025_14_14_34_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/14/14/image_12122025_14_14_25_9649.jpg', 2), ('/home/nano/Desktop/images/12122025/14/14/image_12122025_14_14_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:16:02.677424 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/15/image_12122025_14_15_24_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/14/15/image_12122025_14_15_15_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/14/14/image_12122025_14_14_45_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/14/14/image_12122025_14_14_34_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/14/14/image_12122025_14_14_25_9649.jpg', 2), ('/home/nano/Desktop/images/12122025/14/14/image_12122025_14_14_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:16:32.191218 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/16/image_12122025_14_16_15_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/14/15/image_12122025_14_15_35_10649.jpg', 2), ('/home/nano/Desktop/images/12122025/14/15/image_12122025_14_15_24_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/14/15/image_12122025_14_15_15_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/14/14/image_12122025_14_14_45_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/14/14/image_12122025_14_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:17:02.992090 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/17/image_12122025_14_17_44_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/14/16/image_12122025_14_16_15_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/14/15/image_12122025_14_15_35_10649.jpg', 2), ('/home/nano/Desktop/images/12122025/14/15/image_12122025_14_15_24_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/14/15/image_12122025_14_15_15_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/14/14/image_12122025_14_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:17:32.313326 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/17/image_12122025_14_17_44_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/14/17/image_12122025_14_17_14_9644.jpg', 2), ('/home/nano/Desktop/images/12122025/14/16/image_12122025_14_17_05_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/14/16/image_12122025_14_16_35_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/14/16/image_12122025_14_16_15_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/14/15/image_12122025_14_15_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:18:03.020033 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/17/image_12122025_14_17_44_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/14/17/image_12122025_14_17_14_9644.jpg', 2), ('/home/nano/Desktop/images/12122025/14/16/image_12122025_14_17_05_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/14/16/image_12122025_14_16_35_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/14/16/image_12122025_14_16_15_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/14/15/image_12122025_14_15_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:18:32.468802 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/18/image_12122025_14_18_44_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/14/18/image_12122025_14_18_25_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/14/18/image_12122025_14_18_14_9644.jpg', 2), ('/home/nano/Desktop/images/12122025/14/17/image_12122025_14_17_44_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/14/17/image_12122025_14_17_25_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/14/17/image_12122025_14_17_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:19:03.717279 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/18/image_12122025_14_18_44_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/14/18/image_12122025_14_18_25_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/14/18/image_12122025_14_18_14_9644.jpg', 2), ('/home/nano/Desktop/images/12122025/14/17/image_12122025_14_17_44_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/14/17/image_12122025_14_17_25_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/14/17/image_12122025_14_17_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:19:32.549215 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/19/image_12122025_14_19_34_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/14/19/image_12122025_14_19_15_10667.jpg', 2), ('/home/nano/Desktop/images/12122025/14/18/image_12122025_14_19_04_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/14/18/image_12122025_14_18_55_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/14/18/image_12122025_14_18_44_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/14/18/image_12122025_14_18_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:20:03.104246 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/19/image_12122025_14_19_34_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/14/19/image_12122025_14_19_15_10667.jpg', 2), ('/home/nano/Desktop/images/12122025/14/18/image_12122025_14_19_04_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/14/18/image_12122025_14_18_55_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/14/18/image_12122025_14_18_44_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/14/18/image_12122025_14_18_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:20:32.680792 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/20/image_12122025_14_20_24_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/14/20/image_12122025_14_20_15_10654.jpg', 2), ('/home/nano/Desktop/images/12122025/14/19/image_12122025_14_19_45_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/14/19/image_12122025_14_19_34_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/14/19/image_12122025_14_19_15_10667.jpg', 2), ('/home/nano/Desktop/images/12122025/14/18/image_12122025_14_19_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:21:03.493439 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/20/image_12122025_14_20_24_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/14/20/image_12122025_14_20_15_10654.jpg', 2), ('/home/nano/Desktop/images/12122025/14/19/image_12122025_14_19_45_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/14/19/image_12122025_14_19_34_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/14/19/image_12122025_14_19_15_10667.jpg', 2), ('/home/nano/Desktop/images/12122025/14/18/image_12122025_14_19_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:21:32.772076 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/20/image_12122025_14_20_45_10652.jpg', 2), ('/home/nano/Desktop/images/12122025/14/20/image_12122025_14_20_24_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/14/20/image_12122025_14_20_15_10654.jpg', 2), ('/home/nano/Desktop/images/12122025/14/19/image_12122025_14_19_45_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/14/19/image_12122025_14_19_34_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/14/19/image_12122025_14_19_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:22:02.396835 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/20/image_12122025_14_20_45_10652.jpg', 2), ('/home/nano/Desktop/images/12122025/14/20/image_12122025_14_20_24_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/14/20/image_12122025_14_20_15_10654.jpg', 2), ('/home/nano/Desktop/images/12122025/14/19/image_12122025_14_19_45_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/14/19/image_12122025_14_19_34_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/14/19/image_12122025_14_19_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:22:31.893281 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/22/image_12122025_14_22_35_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/14/22/image_12122025_14_22_24_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/14/22/image_12122025_14_22_14_9644.jpg', 2), ('/home/nano/Desktop/images/12122025/14/21/image_12122025_14_22_05_10647.jpg', 2), ('/home/nano/Desktop/images/12122025/14/21/image_12122025_14_21_24_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/14/20/image_12122025_14_20_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:23:02.642242 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/22/image_12122025_14_22_35_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/14/22/image_12122025_14_22_24_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/14/22/image_12122025_14_22_14_9644.jpg', 2), ('/home/nano/Desktop/images/12122025/14/21/image_12122025_14_22_05_10647.jpg', 2), ('/home/nano/Desktop/images/12122025/14/21/image_12122025_14_21_24_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/14/20/image_12122025_14_20_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:23:31.969089 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/23/image_12122025_14_23_14_9632.jpg', 2), ('/home/nano/Desktop/images/12122025/14/22/image_12122025_14_22_44_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/14/22/image_12122025_14_22_35_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/14/22/image_12122025_14_22_24_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/14/22/image_12122025_14_22_14_9644.jpg', 2), ('/home/nano/Desktop/images/12122025/14/21/image_12122025_14_22_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:24:03.022183 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/23/image_12122025_14_23_14_9632.jpg', 2), ('/home/nano/Desktop/images/12122025/14/22/image_12122025_14_22_44_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/14/22/image_12122025_14_22_35_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/14/22/image_12122025_14_22_24_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/14/22/image_12122025_14_22_14_9644.jpg', 2), ('/home/nano/Desktop/images/12122025/14/21/image_12122025_14_22_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:24:32.096123 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/24/image_12122025_14_24_45_10646.jpg', 2), ('/home/nano/Desktop/images/12122025/14/24/image_12122025_14_24_34_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/14/24/image_12122025_14_24_25_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/14/23/image_12122025_14_24_04_9641.jpg', 2), ('/home/nano/Desktop/images/12122025/14/23/image_12122025_14_23_55_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/14/23/image_12122025_14_23_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:25:03.021463 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/24/image_12122025_14_24_45_10646.jpg', 2), ('/home/nano/Desktop/images/12122025/14/24/image_12122025_14_24_34_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/14/24/image_12122025_14_24_25_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/14/23/image_12122025_14_24_04_9641.jpg', 2), ('/home/nano/Desktop/images/12122025/14/23/image_12122025_14_23_55_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/14/23/image_12122025_14_23_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:25:32.220880 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/24/image_12122025_14_25_04_9641.jpg', 2), ('/home/nano/Desktop/images/12122025/14/24/image_12122025_14_24_55_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/14/24/image_12122025_14_24_45_10646.jpg', 2), ('/home/nano/Desktop/images/12122025/14/24/image_12122025_14_24_34_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/14/24/image_12122025_14_24_25_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/14/23/image_12122025_14_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:26:02.845080 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/24/image_12122025_14_25_04_9641.jpg', 2), ('/home/nano/Desktop/images/12122025/14/24/image_12122025_14_24_55_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/14/24/image_12122025_14_24_45_10646.jpg', 2), ('/home/nano/Desktop/images/12122025/14/24/image_12122025_14_24_34_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/14/24/image_12122025_14_24_25_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/14/23/image_12122025_14_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:26:32.340340 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/26/image_12122025_14_26_54_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/14/26/image_12122025_14_26_24_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/14/25/image_12122025_14_26_05_10656.jpg', 2), ('/home/nano/Desktop/images/12122025/14/25/image_12122025_14_25_45_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/14/24/image_12122025_14_25_04_9641.jpg', 2), ('/home/nano/Desktop/images/12122025/14/24/image_12122025_14_24_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:27:03.072964 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/26/image_12122025_14_26_54_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/14/26/image_12122025_14_26_24_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/14/25/image_12122025_14_26_05_10656.jpg', 2), ('/home/nano/Desktop/images/12122025/14/25/image_12122025_14_25_45_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/14/24/image_12122025_14_25_04_9641.jpg', 2), ('/home/nano/Desktop/images/12122025/14/24/image_12122025_14_24_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:27:32.477956 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/27/image_12122025_14_27_35_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/14/27/image_12122025_14_27_24_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/14/27/image_12122025_14_27_15_9653.jpg', 2), ('/home/nano/Desktop/images/12122025/14/26/image_12122025_14_26_54_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/14/26/image_12122025_14_26_35_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/14/26/image_12122025_14_26_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:28:03.113995 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/27/image_12122025_14_27_35_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/14/27/image_12122025_14_27_24_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/14/27/image_12122025_14_27_15_9653.jpg', 2), ('/home/nano/Desktop/images/12122025/14/26/image_12122025_14_26_54_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/14/26/image_12122025_14_26_35_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/14/26/image_12122025_14_26_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:28:32.560165 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/28/image_12122025_14_28_35_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/14/28/image_12122025_14_28_14_9660.jpg', 2), ('/home/nano/Desktop/images/12122025/14/27/image_12122025_14_28_05_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/14/27/image_12122025_14_27_44_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/14/27/image_12122025_14_27_35_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/14/27/image_12122025_14_27_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:29:03.702627 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/28/image_12122025_14_28_35_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/14/28/image_12122025_14_28_14_9660.jpg', 2), ('/home/nano/Desktop/images/12122025/14/27/image_12122025_14_28_05_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/14/27/image_12122025_14_27_44_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/14/27/image_12122025_14_27_35_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/14/27/image_12122025_14_27_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:29:32.654159 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/29/image_12122025_14_29_45_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/14/28/image_12122025_14_28_55_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/14/28/image_12122025_14_28_35_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/14/28/image_12122025_14_28_14_9660.jpg', 2), ('/home/nano/Desktop/images/12122025/14/27/image_12122025_14_28_05_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/14/27/image_12122025_14_27_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:30:02.292881 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/29/image_12122025_14_29_45_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/14/28/image_12122025_14_28_55_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/14/28/image_12122025_14_28_35_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/14/28/image_12122025_14_28_14_9660.jpg', 2), ('/home/nano/Desktop/images/12122025/14/27/image_12122025_14_28_05_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/14/27/image_12122025_14_27_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:30:31.762481 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/30/image_12122025_14_30_45_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/14/30/image_12122025_14_30_34_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/14/30/image_12122025_14_30_25_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/14/29/image_12122025_14_29_55_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/14/29/image_12122025_14_29_45_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/14/28/image_12122025_14_28_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:31:02.477063 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/30/image_12122025_14_30_45_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/14/30/image_12122025_14_30_34_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/14/30/image_12122025_14_30_25_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/14/29/image_12122025_14_29_55_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/14/29/image_12122025_14_29_45_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/14/28/image_12122025_14_28_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:31:31.882842 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/31/image_12122025_14_31_45_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/14/31/image_12122025_14_31_35_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/14/31/image_12122025_14_31_24_9595.jpg', 2), ('/home/nano/Desktop/images/12122025/14/31/image_12122025_14_31_15_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/14/30/image_12122025_14_31_05_10643.jpg', 2), ('/home/nano/Desktop/images/12122025/14/30/image_12122025_14_30_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:32:02.436847 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/31/image_12122025_14_31_45_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/14/31/image_12122025_14_31_35_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/14/31/image_12122025_14_31_24_9595.jpg', 2), ('/home/nano/Desktop/images/12122025/14/31/image_12122025_14_31_15_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/14/30/image_12122025_14_31_05_10643.jpg', 2), ('/home/nano/Desktop/images/12122025/14/30/image_12122025_14_30_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:32:31.971948 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/32/image_12122025_14_32_44_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/14/32/image_12122025_14_32_35_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/14/32/image_12122025_14_32_25_10617.jpg', 2), ('/home/nano/Desktop/images/12122025/14/32/image_12122025_14_32_14_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/14/31/image_12122025_14_32_05_10649.jpg', 2), ('/home/nano/Desktop/images/12122025/14/31/image_12122025_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:33:02.897450 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/32/image_12122025_14_32_44_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/14/32/image_12122025_14_32_35_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/14/32/image_12122025_14_32_25_10617.jpg', 2), ('/home/nano/Desktop/images/12122025/14/32/image_12122025_14_32_14_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/14/31/image_12122025_14_32_05_10649.jpg', 2), ('/home/nano/Desktop/images/12122025/14/31/image_12122025_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:33:32.074707 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/33/image_12122025_14_33_45_9726.jpg', 2), ('/home/nano/Desktop/images/12122025/14/33/image_12122025_14_33_35_10820.jpg', 2), ('/home/nano/Desktop/images/12122025/14/33/image_12122025_14_33_24_9739.jpg', 2), ('/home/nano/Desktop/images/12122025/14/33/image_12122025_14_33_14_9749.jpg', 2), ('/home/nano/Desktop/images/12122025/14/32/image_12122025_14_33_05_9750.jpg', 2), ('/home/nano/Desktop/images/12122025/14/32/image_12122025_14_32_55_10729.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:34:03.037069 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/33/image_12122025_14_33_45_9726.jpg', 2), ('/home/nano/Desktop/images/12122025/14/33/image_12122025_14_33_35_10820.jpg', 2), ('/home/nano/Desktop/images/12122025/14/33/image_12122025_14_33_24_9739.jpg', 2), ('/home/nano/Desktop/images/12122025/14/33/image_12122025_14_33_14_9749.jpg', 2), ('/home/nano/Desktop/images/12122025/14/32/image_12122025_14_33_05_9750.jpg', 2), ('/home/nano/Desktop/images/12122025/14/32/image_12122025_14_32_55_10729.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:34:32.175669 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/34/image_12122025_14_34_44_9686.jpg', 2), ('/home/nano/Desktop/images/12122025/14/34/image_12122025_14_34_34_9705.jpg', 2), ('/home/nano/Desktop/images/12122025/14/34/image_12122025_14_34_25_9758.jpg', 2), ('/home/nano/Desktop/images/12122025/14/34/image_12122025_14_34_15_10767.jpg', 2), ('/home/nano/Desktop/images/12122025/14/33/image_12122025_14_34_04_9729.jpg', 2), ('/home/nano/Desktop/images/12122025/14/33/image_12122025_14_33_55_9758.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:35:03.150121 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/34/image_12122025_14_34_44_9686.jpg', 2), ('/home/nano/Desktop/images/12122025/14/34/image_12122025_14_34_34_9705.jpg', 2), ('/home/nano/Desktop/images/12122025/14/34/image_12122025_14_34_25_9758.jpg', 2), ('/home/nano/Desktop/images/12122025/14/34/image_12122025_14_34_15_10767.jpg', 2), ('/home/nano/Desktop/images/12122025/14/33/image_12122025_14_34_04_9729.jpg', 2), ('/home/nano/Desktop/images/12122025/14/33/image_12122025_14_33_55_9758.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:35:32.354943 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/35/image_12122025_14_35_44_9702.jpg', 2), ('/home/nano/Desktop/images/12122025/14/35/image_12122025_14_35_35_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/14/35/image_12122025_14_35_25_10718.jpg', 2), ('/home/nano/Desktop/images/12122025/14/35/image_12122025_14_35_14_9723.jpg', 2), ('/home/nano/Desktop/images/12122025/14/34/image_12122025_14_35_05_9634.jpg', 2), ('/home/nano/Desktop/images/12122025/14/34/image_12122025_14_34_55_10683.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:36:03.053365 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/35/image_12122025_14_35_44_9702.jpg', 2), ('/home/nano/Desktop/images/12122025/14/35/image_12122025_14_35_35_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/14/35/image_12122025_14_35_25_10718.jpg', 2), ('/home/nano/Desktop/images/12122025/14/35/image_12122025_14_35_14_9723.jpg', 2), ('/home/nano/Desktop/images/12122025/14/34/image_12122025_14_35_05_9634.jpg', 2), ('/home/nano/Desktop/images/12122025/14/34/image_12122025_14_34_55_10683.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:36:32.472469 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/36/image_12122025_14_36_44_9641.jpg', 2), ('/home/nano/Desktop/images/12122025/14/36/image_12122025_14_36_35_9646.jpg', 2), ('/home/nano/Desktop/images/12122025/14/36/image_12122025_14_36_25_10650.jpg', 2), ('/home/nano/Desktop/images/12122025/14/36/image_12122025_14_36_14_9713.jpg', 2), ('/home/nano/Desktop/images/12122025/14/35/image_12122025_14_36_05_9730.jpg', 2), ('/home/nano/Desktop/images/12122025/14/35/image_12122025_14_35_55_10716.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:37:03.209416 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/36/image_12122025_14_36_44_9641.jpg', 2), ('/home/nano/Desktop/images/12122025/14/36/image_12122025_14_36_35_9646.jpg', 2), ('/home/nano/Desktop/images/12122025/14/36/image_12122025_14_36_25_10650.jpg', 2), ('/home/nano/Desktop/images/12122025/14/36/image_12122025_14_36_14_9713.jpg', 2), ('/home/nano/Desktop/images/12122025/14/35/image_12122025_14_36_05_9730.jpg', 2), ('/home/nano/Desktop/images/12122025/14/35/image_12122025_14_35_55_10716.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:37:32.634721 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/37/image_12122025_14_37_44_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/14/37/image_12122025_14_37_34_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/14/37/image_12122025_14_37_25_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/14/37/image_12122025_14_37_14_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/14/36/image_12122025_14_37_05_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/14/36/image_12122025_14_36_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:38:03.223585 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/37/image_12122025_14_37_44_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/14/37/image_12122025_14_37_34_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/14/37/image_12122025_14_37_25_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/14/37/image_12122025_14_37_14_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/14/36/image_12122025_14_37_05_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/14/36/image_12122025_14_36_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:38:32.671335 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/38/image_12122025_14_38_45_10604.jpg', 2), ('/home/nano/Desktop/images/12122025/14/38/image_12122025_14_38_34_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/14/38/image_12122025_14_38_25_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/14/38/image_12122025_14_38_15_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/14/37/image_12122025_14_38_04_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/14/37/image_12122025_14_37_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:39:02.827306 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/38/image_12122025_14_38_45_10604.jpg', 2), ('/home/nano/Desktop/images/12122025/14/38/image_12122025_14_38_34_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/14/38/image_12122025_14_38_25_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/14/38/image_12122025_14_38_15_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/14/37/image_12122025_14_38_04_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/14/37/image_12122025_14_37_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:39:31.794202 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/39/image_12122025_14_39_35_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/14/39/image_12122025_14_39_24_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/14/39/image_12122025_14_39_15_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/14/38/image_12122025_14_39_05_10617.jpg', 2), ('/home/nano/Desktop/images/12122025/14/38/image_12122025_14_38_54_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/14/38/image_12122025_14_38_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:40:02.460713 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/39/image_12122025_14_39_35_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/14/39/image_12122025_14_39_24_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/14/39/image_12122025_14_39_15_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/14/38/image_12122025_14_39_05_10617.jpg', 2), ('/home/nano/Desktop/images/12122025/14/38/image_12122025_14_38_54_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/14/38/image_12122025_14_38_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:40:31.881417 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/40/image_12122025_14_40_45_10610.jpg', 2), ('/home/nano/Desktop/images/12122025/14/40/image_12122025_14_40_34_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/14/40/image_12122025_14_40_25_10610.jpg', 2), ('/home/nano/Desktop/images/12122025/14/40/image_12122025_14_40_14_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/14/39/image_12122025_14_39_44_9593.jpg', 2), ('/home/nano/Desktop/images/12122025/14/39/image_12122025_14_39_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:41:02.721960 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/40/image_12122025_14_40_45_10610.jpg', 2), ('/home/nano/Desktop/images/12122025/14/40/image_12122025_14_40_34_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/14/40/image_12122025_14_40_25_10610.jpg', 2), ('/home/nano/Desktop/images/12122025/14/40/image_12122025_14_40_14_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/14/39/image_12122025_14_39_44_9593.jpg', 2), ('/home/nano/Desktop/images/12122025/14/39/image_12122025_14_39_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:41:31.988426 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/41/image_12122025_14_41_45_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/14/41/image_12122025_14_41_34_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/14/41/image_12122025_14_41_24_9595.jpg', 2), ('/home/nano/Desktop/images/12122025/14/41/image_12122025_14_41_15_10637.jpg', 2), ('/home/nano/Desktop/images/12122025/14/40/image_12122025_14_41_04_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/14/40/image_12122025_14_40_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:42:02.481236 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/41/image_12122025_14_41_45_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/14/41/image_12122025_14_41_34_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/14/41/image_12122025_14_41_24_9595.jpg', 2), ('/home/nano/Desktop/images/12122025/14/41/image_12122025_14_41_15_10637.jpg', 2), ('/home/nano/Desktop/images/12122025/14/40/image_12122025_14_41_04_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/14/40/image_12122025_14_40_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:42:32.141171 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/42/image_12122025_14_42_44_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/14/42/image_12122025_14_42_35_10646.jpg', 2), ('/home/nano/Desktop/images/12122025/14/42/image_12122025_14_42_24_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/14/42/image_12122025_14_42_15_9641.jpg', 2), ('/home/nano/Desktop/images/12122025/14/41/image_12122025_14_42_05_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/14/41/image_12122025_14_41_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:43:02.835984 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/42/image_12122025_14_42_44_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/14/42/image_12122025_14_42_35_10646.jpg', 2), ('/home/nano/Desktop/images/12122025/14/42/image_12122025_14_42_24_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/14/42/image_12122025_14_42_15_9641.jpg', 2), ('/home/nano/Desktop/images/12122025/14/41/image_12122025_14_42_05_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/14/41/image_12122025_14_41_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:43:32.235622 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/43/image_12122025_14_43_44_9654.jpg', 2), ('/home/nano/Desktop/images/12122025/14/43/image_12122025_14_43_35_10650.jpg', 2), ('/home/nano/Desktop/images/12122025/14/43/image_12122025_14_43_24_9669.jpg', 2), ('/home/nano/Desktop/images/12122025/14/43/image_12122025_14_43_15_9684.jpg', 2), ('/home/nano/Desktop/images/12122025/14/42/image_12122025_14_43_05_10694.jpg', 2), ('/home/nano/Desktop/images/12122025/14/42/image_12122025_14_42_54_9669.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:44:03.127367 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/43/image_12122025_14_43_44_9654.jpg', 2), ('/home/nano/Desktop/images/12122025/14/43/image_12122025_14_43_35_10650.jpg', 2), ('/home/nano/Desktop/images/12122025/14/43/image_12122025_14_43_24_9669.jpg', 2), ('/home/nano/Desktop/images/12122025/14/43/image_12122025_14_43_15_9684.jpg', 2), ('/home/nano/Desktop/images/12122025/14/42/image_12122025_14_43_05_10694.jpg', 2), ('/home/nano/Desktop/images/12122025/14/42/image_12122025_14_42_54_9669.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:44:32.328439 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/44/image_12122025_14_44_44_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/14/44/image_12122025_14_44_35_10647.jpg', 2), ('/home/nano/Desktop/images/12122025/14/44/image_12122025_14_44_24_9614.jpg', 2), ('/home/nano/Desktop/images/12122025/14/44/image_12122025_14_44_15_9661.jpg', 2), ('/home/nano/Desktop/images/12122025/14/43/image_12122025_14_44_05_10695.jpg', 2), ('/home/nano/Desktop/images/12122025/14/43/image_12122025_14_43_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:45:03.027423 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/44/image_12122025_14_44_44_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/14/44/image_12122025_14_44_35_10647.jpg', 2), ('/home/nano/Desktop/images/12122025/14/44/image_12122025_14_44_24_9614.jpg', 2), ('/home/nano/Desktop/images/12122025/14/44/image_12122025_14_44_15_9661.jpg', 2), ('/home/nano/Desktop/images/12122025/14/43/image_12122025_14_44_05_10695.jpg', 2), ('/home/nano/Desktop/images/12122025/14/43/image_12122025_14_43_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:45:32.437537 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/45/image_12122025_14_45_44_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/14/45/image_12122025_14_45_35_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/14/45/image_12122025_14_45_25_10616.jpg', 2), ('/home/nano/Desktop/images/12122025/14/45/image_12122025_14_45_14_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/14/44/image_12122025_14_45_05_9689.jpg', 2), ('/home/nano/Desktop/images/12122025/14/44/image_12122025_14_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:46:03.182036 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/45/image_12122025_14_45_44_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/14/45/image_12122025_14_45_35_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/14/45/image_12122025_14_45_25_10616.jpg', 2), ('/home/nano/Desktop/images/12122025/14/45/image_12122025_14_45_14_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/14/44/image_12122025_14_45_05_9689.jpg', 2), ('/home/nano/Desktop/images/12122025/14/44/image_12122025_14_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:46:32.516671 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/46/image_12122025_14_46_44_9644.jpg', 2), ('/home/nano/Desktop/images/12122025/14/46/image_12122025_14_46_35_9679.jpg', 2), ('/home/nano/Desktop/images/12122025/14/46/image_12122025_14_46_25_10675.jpg', 2), ('/home/nano/Desktop/images/12122025/14/46/image_12122025_14_46_14_9652.jpg', 2), ('/home/nano/Desktop/images/12122025/14/45/image_12122025_14_46_05_9633.jpg', 2), ('/home/nano/Desktop/images/12122025/14/45/image_12122025_14_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:47:03.360956 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/46/image_12122025_14_46_44_9644.jpg', 2), ('/home/nano/Desktop/images/12122025/14/46/image_12122025_14_46_35_9679.jpg', 2), ('/home/nano/Desktop/images/12122025/14/46/image_12122025_14_46_25_10675.jpg', 2), ('/home/nano/Desktop/images/12122025/14/46/image_12122025_14_46_14_9652.jpg', 2), ('/home/nano/Desktop/images/12122025/14/45/image_12122025_14_46_05_9633.jpg', 2), ('/home/nano/Desktop/images/12122025/14/45/image_12122025_14_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:47:32.649952 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/47/image_12122025_14_47_44_9697.jpg', 2), ('/home/nano/Desktop/images/12122025/14/47/image_12122025_14_47_35_9743.jpg', 2), ('/home/nano/Desktop/images/12122025/14/47/image_12122025_14_47_25_10770.jpg', 2), ('/home/nano/Desktop/images/12122025/14/47/image_12122025_14_47_14_9714.jpg', 2), ('/home/nano/Desktop/images/12122025/14/46/image_12122025_14_47_04_9659.jpg', 2), ('/home/nano/Desktop/images/12122025/14/46/image_12122025_14_46_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:48:03.242598 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/47/image_12122025_14_47_44_9697.jpg', 2), ('/home/nano/Desktop/images/12122025/14/47/image_12122025_14_47_35_9743.jpg', 2), ('/home/nano/Desktop/images/12122025/14/47/image_12122025_14_47_25_10770.jpg', 2), ('/home/nano/Desktop/images/12122025/14/47/image_12122025_14_47_14_9714.jpg', 2), ('/home/nano/Desktop/images/12122025/14/46/image_12122025_14_47_04_9659.jpg', 2), ('/home/nano/Desktop/images/12122025/14/46/image_12122025_14_46_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:48:32.733983 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/48/image_12122025_14_48_45_9662.jpg', 2), ('/home/nano/Desktop/images/12122025/14/48/image_12122025_14_48_35_10735.jpg', 2), ('/home/nano/Desktop/images/12122025/14/48/image_12122025_14_48_24_9721.jpg', 2), ('/home/nano/Desktop/images/12122025/14/48/image_12122025_14_48_14_9649.jpg', 2), ('/home/nano/Desktop/images/12122025/14/47/image_12122025_14_48_05_9792.jpg', 2), ('/home/nano/Desktop/images/12122025/14/47/image_12122025_14_47_55_10637.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:49:02.842409 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/48/image_12122025_14_48_45_9662.jpg', 2), ('/home/nano/Desktop/images/12122025/14/48/image_12122025_14_48_35_10735.jpg', 2), ('/home/nano/Desktop/images/12122025/14/48/image_12122025_14_48_24_9721.jpg', 2), ('/home/nano/Desktop/images/12122025/14/48/image_12122025_14_48_14_9649.jpg', 2), ('/home/nano/Desktop/images/12122025/14/47/image_12122025_14_48_05_9792.jpg', 2), ('/home/nano/Desktop/images/12122025/14/47/image_12122025_14_47_55_10637.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:49:31.824491 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/49/image_12122025_14_49_45_10752.jpg', 2), ('/home/nano/Desktop/images/12122025/14/49/image_12122025_14_49_34_9679.jpg', 2), ('/home/nano/Desktop/images/12122025/14/49/image_12122025_14_49_24_9644.jpg', 2), ('/home/nano/Desktop/images/12122025/14/49/image_12122025_14_49_15_9787.jpg', 2), ('/home/nano/Desktop/images/12122025/14/48/image_12122025_14_49_05_10652.jpg', 2), ('/home/nano/Desktop/images/12122025/14/48/image_12122025_14_48_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:50:02.437941 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/49/image_12122025_14_49_45_10752.jpg', 2), ('/home/nano/Desktop/images/12122025/14/49/image_12122025_14_49_34_9679.jpg', 2), ('/home/nano/Desktop/images/12122025/14/49/image_12122025_14_49_24_9644.jpg', 2), ('/home/nano/Desktop/images/12122025/14/49/image_12122025_14_49_15_9787.jpg', 2), ('/home/nano/Desktop/images/12122025/14/48/image_12122025_14_49_05_10652.jpg', 2), ('/home/nano/Desktop/images/12122025/14/48/image_12122025_14_48_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:50:31.928419 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/50/image_12122025_14_50_44_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/14/50/image_12122025_14_50_34_9712.jpg', 2), ('/home/nano/Desktop/images/12122025/14/50/image_12122025_14_50_25_9745.jpg', 2), ('/home/nano/Desktop/images/12122025/14/50/image_12122025_14_50_15_10774.jpg', 2), ('/home/nano/Desktop/images/12122025/14/49/image_12122025_14_50_04_9742.jpg', 2), ('/home/nano/Desktop/images/12122025/14/49/image_12122025_14_49_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:51:02.697899 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/50/image_12122025_14_50_44_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/14/50/image_12122025_14_50_34_9712.jpg', 2), ('/home/nano/Desktop/images/12122025/14/50/image_12122025_14_50_25_9745.jpg', 2), ('/home/nano/Desktop/images/12122025/14/50/image_12122025_14_50_15_10774.jpg', 2), ('/home/nano/Desktop/images/12122025/14/49/image_12122025_14_50_04_9742.jpg', 2), ('/home/nano/Desktop/images/12122025/14/49/image_12122025_14_49_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:51:32.062780 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/51/image_12122025_14_51_44_9693.jpg', 2), ('/home/nano/Desktop/images/12122025/14/51/image_12122025_14_51_35_9695.jpg', 2), ('/home/nano/Desktop/images/12122025/14/51/image_12122025_14_51_25_10743.jpg', 2), ('/home/nano/Desktop/images/12122025/14/51/image_12122025_14_51_14_9660.jpg', 2), ('/home/nano/Desktop/images/12122025/14/50/image_12122025_14_51_04_9736.jpg', 2), ('/home/nano/Desktop/images/12122025/14/50/image_12122025_14_50_55_10637.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:52:02.706280 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/51/image_12122025_14_51_44_9693.jpg', 2), ('/home/nano/Desktop/images/12122025/14/51/image_12122025_14_51_35_9695.jpg', 2), ('/home/nano/Desktop/images/12122025/14/51/image_12122025_14_51_25_10743.jpg', 2), ('/home/nano/Desktop/images/12122025/14/51/image_12122025_14_51_14_9660.jpg', 2), ('/home/nano/Desktop/images/12122025/14/50/image_12122025_14_51_04_9736.jpg', 2), ('/home/nano/Desktop/images/12122025/14/50/image_12122025_14_50_55_10637.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:52:32.148111 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/52/image_12122025_14_52_44_9653.jpg', 2), ('/home/nano/Desktop/images/12122025/14/52/image_12122025_14_52_35_9757.jpg', 2), ('/home/nano/Desktop/images/12122025/14/52/image_12122025_14_52_25_10638.jpg', 2), ('/home/nano/Desktop/images/12122025/14/52/image_12122025_14_52_14_9736.jpg', 2), ('/home/nano/Desktop/images/12122025/14/51/image_12122025_14_52_05_9671.jpg', 2), ('/home/nano/Desktop/images/12122025/14/51/image_12122025_14_51_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:53:02.952364 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/52/image_12122025_14_52_44_9653.jpg', 2), ('/home/nano/Desktop/images/12122025/14/52/image_12122025_14_52_35_9757.jpg', 2), ('/home/nano/Desktop/images/12122025/14/52/image_12122025_14_52_25_10638.jpg', 2), ('/home/nano/Desktop/images/12122025/14/52/image_12122025_14_52_14_9736.jpg', 2), ('/home/nano/Desktop/images/12122025/14/51/image_12122025_14_52_05_9671.jpg', 2), ('/home/nano/Desktop/images/12122025/14/51/image_12122025_14_51_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:53:32.227641 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/53/image_12122025_14_53_45_9665.jpg', 2), ('/home/nano/Desktop/images/12122025/14/53/image_12122025_14_53_35_10732.jpg', 2), ('/home/nano/Desktop/images/12122025/14/53/image_12122025_14_53_24_9723.jpg', 2), ('/home/nano/Desktop/images/12122025/14/53/image_12122025_14_53_14_9732.jpg', 2), ('/home/nano/Desktop/images/12122025/14/52/image_12122025_14_53_05_9739.jpg', 2), ('/home/nano/Desktop/images/12122025/14/52/image_12122025_14_52_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:54:03.138366 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/53/image_12122025_14_53_45_9665.jpg', 2), ('/home/nano/Desktop/images/12122025/14/53/image_12122025_14_53_35_10732.jpg', 2), ('/home/nano/Desktop/images/12122025/14/53/image_12122025_14_53_24_9723.jpg', 2), ('/home/nano/Desktop/images/12122025/14/53/image_12122025_14_53_14_9732.jpg', 2), ('/home/nano/Desktop/images/12122025/14/52/image_12122025_14_53_05_9739.jpg', 2), ('/home/nano/Desktop/images/12122025/14/52/image_12122025_14_52_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:54:32.413185 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/54/image_12122025_14_54_45_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/14/54/image_12122025_14_54_35_10698.jpg', 2), ('/home/nano/Desktop/images/12122025/14/54/image_12122025_14_54_24_9633.jpg', 2), ('/home/nano/Desktop/images/12122025/14/54/image_12122025_14_54_15_9647.jpg', 2), ('/home/nano/Desktop/images/12122025/14/53/image_12122025_14_54_05_10669.jpg', 2), ('/home/nano/Desktop/images/12122025/14/53/image_12122025_14_53_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:55:03.131225 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/54/image_12122025_14_54_45_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/14/54/image_12122025_14_54_35_10698.jpg', 2), ('/home/nano/Desktop/images/12122025/14/54/image_12122025_14_54_24_9633.jpg', 2), ('/home/nano/Desktop/images/12122025/14/54/image_12122025_14_54_15_9647.jpg', 2), ('/home/nano/Desktop/images/12122025/14/53/image_12122025_14_54_05_10669.jpg', 2), ('/home/nano/Desktop/images/12122025/14/53/image_12122025_14_53_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:55:32.520760 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/55/image_12122025_14_55_44_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/14/55/image_12122025_14_55_35_9651.jpg', 2), ('/home/nano/Desktop/images/12122025/14/55/image_12122025_14_55_25_10649.jpg', 2), ('/home/nano/Desktop/images/12122025/14/55/image_12122025_14_55_14_9641.jpg', 2), ('/home/nano/Desktop/images/12122025/14/54/image_12122025_14_55_05_10658.jpg', 2), ('/home/nano/Desktop/images/12122025/14/54/image_12122025_14_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:56:03.183134 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/55/image_12122025_14_55_44_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/14/55/image_12122025_14_55_35_9651.jpg', 2), ('/home/nano/Desktop/images/12122025/14/55/image_12122025_14_55_25_10649.jpg', 2), ('/home/nano/Desktop/images/12122025/14/55/image_12122025_14_55_14_9641.jpg', 2), ('/home/nano/Desktop/images/12122025/14/54/image_12122025_14_55_05_10658.jpg', 2), ('/home/nano/Desktop/images/12122025/14/54/image_12122025_14_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:56:32.521275 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/56/image_12122025_14_56_44_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/14/56/image_12122025_14_56_35_9634.jpg', 2), ('/home/nano/Desktop/images/12122025/14/56/image_12122025_14_56_25_10649.jpg', 2), ('/home/nano/Desktop/images/12122025/14/56/image_12122025_14_56_14_9646.jpg', 2), ('/home/nano/Desktop/images/12122025/14/55/image_12122025_14_56_05_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/14/55/image_12122025_14_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:57:03.297394 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/56/image_12122025_14_56_44_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/14/56/image_12122025_14_56_35_9634.jpg', 2), ('/home/nano/Desktop/images/12122025/14/56/image_12122025_14_56_25_10649.jpg', 2), ('/home/nano/Desktop/images/12122025/14/56/image_12122025_14_56_14_9646.jpg', 2), ('/home/nano/Desktop/images/12122025/14/55/image_12122025_14_56_05_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/14/55/image_12122025_14_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:57:32.623218 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/57/image_12122025_14_57_45_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/14/57/image_12122025_14_57_34_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/14/57/image_12122025_14_57_25_10627.jpg', 2), ('/home/nano/Desktop/images/12122025/14/57/image_12122025_14_57_14_9670.jpg', 2), ('/home/nano/Desktop/images/12122025/14/56/image_12122025_14_57_04_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/14/56/image_12122025_14_56_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:58:03.160249 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/57/image_12122025_14_57_45_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/14/57/image_12122025_14_57_34_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/14/57/image_12122025_14_57_25_10627.jpg', 2), ('/home/nano/Desktop/images/12122025/14/57/image_12122025_14_57_14_9670.jpg', 2), ('/home/nano/Desktop/images/12122025/14/56/image_12122025_14_57_04_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/14/56/image_12122025_14_56_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:59:03.590472 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/57/image_12122025_14_57_45_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/14/57/image_12122025_14_57_34_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/14/57/image_12122025_14_57_25_10627.jpg', 2), ('/home/nano/Desktop/images/12122025/14/57/image_12122025_14_57_14_9670.jpg', 2), ('/home/nano/Desktop/images/12122025/14/56/image_12122025_14_57_04_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/14/56/image_12122025_14_56_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 14:59:32.586842 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/59/image_12122025_14_59_45_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/14/59/image_12122025_14_59_35_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/14/59/image_12122025_14_59_24_9636.jpg', 2), ('/home/nano/Desktop/images/12122025/14/59/image_12122025_14_59_15_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/14/58/image_12122025_14_59_04_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/14/58/image_12122025_14_58_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:00:03.216026 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/14/59/image_12122025_14_59_45_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/14/59/image_12122025_14_59_35_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/14/59/image_12122025_14_59_24_9636.jpg', 2), ('/home/nano/Desktop/images/12122025/14/59/image_12122025_14_59_15_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/14/58/image_12122025_14_59_04_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/14/58/image_12122025_14_58_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:00:32.729304 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/00/image_12122025_15_00_44_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/15/00/image_12122025_15_00_35_10624.jpg', 2), ('/home/nano/Desktop/images/12122025/15/00/image_12122025_15_00_24_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/15/00/image_12122025_15_00_15_9645.jpg', 2), ('/home/nano/Desktop/images/12122025/14/59/image_12122025_15_00_05_10660.jpg', 2), ('/home/nano/Desktop/images/12122025/14/59/image_12122025_14_59_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:01:02.377406 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/00/image_12122025_15_00_44_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/15/00/image_12122025_15_00_35_10624.jpg', 2), ('/home/nano/Desktop/images/12122025/15/00/image_12122025_15_00_24_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/15/00/image_12122025_15_00_15_9645.jpg', 2), ('/home/nano/Desktop/images/12122025/14/59/image_12122025_15_00_05_10660.jpg', 2), ('/home/nano/Desktop/images/12122025/14/59/image_12122025_14_59_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:01:31.797822 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/01/image_12122025_15_01_44_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/15/01/image_12122025_15_01_35_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/15/01/image_12122025_15_01_25_10610.jpg', 2), ('/home/nano/Desktop/images/12122025/15/01/image_12122025_15_01_14_9651.jpg', 2), ('/home/nano/Desktop/images/12122025/15/00/image_12122025_15_01_05_9645.jpg', 2), ('/home/nano/Desktop/images/12122025/15/00/image_12122025_15_00_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:02:02.462355 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/01/image_12122025_15_01_44_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/15/01/image_12122025_15_01_35_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/15/01/image_12122025_15_01_25_10610.jpg', 2), ('/home/nano/Desktop/images/12122025/15/01/image_12122025_15_01_14_9651.jpg', 2), ('/home/nano/Desktop/images/12122025/15/00/image_12122025_15_01_05_9645.jpg', 2), ('/home/nano/Desktop/images/12122025/15/00/image_12122025_15_00_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:02:31.919388 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/02/image_12122025_15_02_45_10648.jpg', 2), ('/home/nano/Desktop/images/12122025/15/02/image_12122025_15_02_34_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/15/02/image_12122025_15_02_25_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/15/02/image_12122025_15_02_15_10646.jpg', 2), ('/home/nano/Desktop/images/12122025/15/01/image_12122025_15_02_04_9633.jpg', 2), ('/home/nano/Desktop/images/12122025/15/01/image_12122025_15_01_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:03:02.755846 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/02/image_12122025_15_02_45_10648.jpg', 2), ('/home/nano/Desktop/images/12122025/15/02/image_12122025_15_02_34_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/15/02/image_12122025_15_02_25_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/15/02/image_12122025_15_02_15_10646.jpg', 2), ('/home/nano/Desktop/images/12122025/15/01/image_12122025_15_02_04_9633.jpg', 2), ('/home/nano/Desktop/images/12122025/15/01/image_12122025_15_01_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:03:32.010058 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/03/image_12122025_15_03_35_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/15/03/image_12122025_15_03_24_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/15/03/image_12122025_15_03_15_10639.jpg', 2), ('/home/nano/Desktop/images/12122025/15/02/image_12122025_15_03_04_9616.jpg', 2), ('/home/nano/Desktop/images/12122025/15/02/image_12122025_15_02_55_9616.jpg', 2), ('/home/nano/Desktop/images/12122025/15/02/image_12122025_15_02_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:04:03.092619 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/03/image_12122025_15_03_35_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/15/03/image_12122025_15_03_24_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/15/03/image_12122025_15_03_15_10639.jpg', 2), ('/home/nano/Desktop/images/12122025/15/02/image_12122025_15_03_04_9616.jpg', 2), ('/home/nano/Desktop/images/12122025/15/02/image_12122025_15_02_55_9616.jpg', 2), ('/home/nano/Desktop/images/12122025/15/02/image_12122025_15_02_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:04:32.127021 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/04/image_12122025_15_04_44_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/15/04/image_12122025_15_04_35_10619.jpg', 2), ('/home/nano/Desktop/images/12122025/15/04/image_12122025_15_04_24_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/15/04/image_12122025_15_04_15_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/15/03/image_12122025_15_04_05_10620.jpg', 2), ('/home/nano/Desktop/images/12122025/15/03/image_12122025_15_03_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:05:03.019695 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/04/image_12122025_15_04_44_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/15/04/image_12122025_15_04_35_10619.jpg', 2), ('/home/nano/Desktop/images/12122025/15/04/image_12122025_15_04_24_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/15/04/image_12122025_15_04_15_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/15/03/image_12122025_15_04_05_10620.jpg', 2), ('/home/nano/Desktop/images/12122025/15/03/image_12122025_15_03_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:05:32.200258 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/05/image_12122025_15_05_45_10628.jpg', 2), ('/home/nano/Desktop/images/12122025/15/05/image_12122025_15_05_34_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/15/05/image_12122025_15_05_25_10622.jpg', 2), ('/home/nano/Desktop/images/12122025/15/05/image_12122025_15_05_14_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/15/04/image_12122025_15_05_05_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/15/04/image_12122025_15_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:06:02.952212 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/05/image_12122025_15_05_45_10628.jpg', 2), ('/home/nano/Desktop/images/12122025/15/05/image_12122025_15_05_34_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/15/05/image_12122025_15_05_25_10622.jpg', 2), ('/home/nano/Desktop/images/12122025/15/05/image_12122025_15_05_14_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/15/04/image_12122025_15_05_05_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/15/04/image_12122025_15_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:06:32.323907 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/06/image_12122025_15_06_45_10605.jpg', 2), ('/home/nano/Desktop/images/12122025/15/06/image_12122025_15_06_34_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/15/06/image_12122025_15_06_25_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/15/06/image_12122025_15_06_15_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/15/05/image_12122025_15_06_04_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/15/05/image_12122025_15_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:07:02.949610 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/06/image_12122025_15_06_45_10605.jpg', 2), ('/home/nano/Desktop/images/12122025/15/06/image_12122025_15_06_34_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/15/06/image_12122025_15_06_25_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/15/06/image_12122025_15_06_15_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/15/05/image_12122025_15_06_04_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/15/05/image_12122025_15_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:07:32.481779 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/07/image_12122025_15_07_44_9616.jpg', 2), ('/home/nano/Desktop/images/12122025/15/07/image_12122025_15_07_35_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/15/07/image_12122025_15_07_24_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/15/07/image_12122025_15_07_15_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/15/06/image_12122025_15_07_05_10623.jpg', 2), ('/home/nano/Desktop/images/12122025/15/06/image_12122025_15_06_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:08:03.011044 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/07/image_12122025_15_07_44_9616.jpg', 2), ('/home/nano/Desktop/images/12122025/15/07/image_12122025_15_07_35_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/15/07/image_12122025_15_07_24_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/15/07/image_12122025_15_07_15_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/15/06/image_12122025_15_07_05_10623.jpg', 2), ('/home/nano/Desktop/images/12122025/15/06/image_12122025_15_06_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:08:32.537013 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/08/image_12122025_15_08_44_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/15/08/image_12122025_15_08_35_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/15/08/image_12122025_15_08_25_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/15/08/image_12122025_15_08_14_9647.jpg', 2), ('/home/nano/Desktop/images/12122025/15/07/image_12122025_15_08_05_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/15/07/image_12122025_15_07_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:09:03.806484 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/08/image_12122025_15_08_44_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/15/08/image_12122025_15_08_35_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/15/08/image_12122025_15_08_25_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/15/08/image_12122025_15_08_14_9647.jpg', 2), ('/home/nano/Desktop/images/12122025/15/07/image_12122025_15_08_05_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/15/07/image_12122025_15_07_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:09:32.709196 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/09/image_12122025_15_09_45_10610.jpg', 2), ('/home/nano/Desktop/images/12122025/15/09/image_12122025_15_09_34_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/15/09/image_12122025_15_09_25_10605.jpg', 2), ('/home/nano/Desktop/images/12122025/15/09/image_12122025_15_09_14_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/15/08/image_12122025_15_09_04_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/15/08/image_12122025_15_08_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:10:02.419800 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/09/image_12122025_15_09_45_10610.jpg', 2), ('/home/nano/Desktop/images/12122025/15/09/image_12122025_15_09_34_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/15/09/image_12122025_15_09_25_10605.jpg', 2), ('/home/nano/Desktop/images/12122025/15/09/image_12122025_15_09_14_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/15/08/image_12122025_15_09_04_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/15/08/image_12122025_15_08_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:10:31.940234 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/10/image_12122025_15_10_45_10625.jpg', 2), ('/home/nano/Desktop/images/12122025/15/10/image_12122025_15_10_34_9649.jpg', 2), ('/home/nano/Desktop/images/12122025/15/10/image_12122025_15_10_24_9649.jpg', 2), ('/home/nano/Desktop/images/12122025/15/10/image_12122025_15_10_15_10645.jpg', 2), ('/home/nano/Desktop/images/12122025/15/09/image_12122025_15_10_04_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/15/09/image_12122025_15_09_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:11:02.661630 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/10/image_12122025_15_10_45_10625.jpg', 2), ('/home/nano/Desktop/images/12122025/15/10/image_12122025_15_10_34_9649.jpg', 2), ('/home/nano/Desktop/images/12122025/15/10/image_12122025_15_10_24_9649.jpg', 2), ('/home/nano/Desktop/images/12122025/15/10/image_12122025_15_10_15_10645.jpg', 2), ('/home/nano/Desktop/images/12122025/15/09/image_12122025_15_10_04_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/15/09/image_12122025_15_09_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:11:31.994160 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/11/image_12122025_15_11_45_9634.jpg', 2), ('/home/nano/Desktop/images/12122025/15/11/image_12122025_15_11_35_10653.jpg', 2), ('/home/nano/Desktop/images/12122025/15/11/image_12122025_15_11_24_9632.jpg', 2), ('/home/nano/Desktop/images/12122025/15/11/image_12122025_15_11_15_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/15/10/image_12122025_15_11_05_10646.jpg', 2), ('/home/nano/Desktop/images/12122025/15/10/image_12122025_15_10_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:12:02.533499 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/11/image_12122025_15_11_45_9634.jpg', 2), ('/home/nano/Desktop/images/12122025/15/11/image_12122025_15_11_35_10653.jpg', 2), ('/home/nano/Desktop/images/12122025/15/11/image_12122025_15_11_24_9632.jpg', 2), ('/home/nano/Desktop/images/12122025/15/11/image_12122025_15_11_15_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/15/10/image_12122025_15_11_05_10646.jpg', 2), ('/home/nano/Desktop/images/12122025/15/10/image_12122025_15_10_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:12:32.092450 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/12/image_12122025_15_12_44_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/15/12/image_12122025_15_12_35_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/15/12/image_12122025_15_12_25_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/15/12/image_12122025_15_12_14_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/15/11/image_12122025_15_12_05_10646.jpg', 2), ('/home/nano/Desktop/images/12122025/15/11/image_12122025_15_11_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:13:02.660742 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/12/image_12122025_15_12_44_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/15/12/image_12122025_15_12_35_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/15/12/image_12122025_15_12_25_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/15/12/image_12122025_15_12_14_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/15/11/image_12122025_15_12_05_10646.jpg', 2), ('/home/nano/Desktop/images/12122025/15/11/image_12122025_15_11_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:13:32.208781 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/13/image_12122025_15_13_44_9633.jpg', 2), ('/home/nano/Desktop/images/12122025/15/13/image_12122025_15_13_35_9632.jpg', 2), ('/home/nano/Desktop/images/12122025/15/13/image_12122025_15_13_25_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/15/13/image_12122025_15_13_14_9645.jpg', 2), ('/home/nano/Desktop/images/12122025/15/12/image_12122025_15_13_05_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/15/12/image_12122025_15_12_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:14:03.036126 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/13/image_12122025_15_13_44_9633.jpg', 2), ('/home/nano/Desktop/images/12122025/15/13/image_12122025_15_13_35_9632.jpg', 2), ('/home/nano/Desktop/images/12122025/15/13/image_12122025_15_13_25_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/15/13/image_12122025_15_13_14_9645.jpg', 2), ('/home/nano/Desktop/images/12122025/15/12/image_12122025_15_13_05_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/15/12/image_12122025_15_12_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:14:32.292130 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/14/image_12122025_15_14_45_10622.jpg', 2), ('/home/nano/Desktop/images/12122025/15/14/image_12122025_15_14_34_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/15/14/image_12122025_15_14_25_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/15/14/image_12122025_15_14_15_10637.jpg', 2), ('/home/nano/Desktop/images/12122025/15/13/image_12122025_15_14_04_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/15/13/image_12122025_15_13_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:15:03.057432 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/14/image_12122025_15_14_45_10622.jpg', 2), ('/home/nano/Desktop/images/12122025/15/14/image_12122025_15_14_34_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/15/14/image_12122025_15_14_25_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/15/14/image_12122025_15_14_15_10637.jpg', 2), ('/home/nano/Desktop/images/12122025/15/13/image_12122025_15_14_04_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/15/13/image_12122025_15_13_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:15:32.414717 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/15/image_12122025_15_15_45_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/15/15/image_12122025_15_15_24_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/15/15/image_12122025_15_15_15_10653.jpg', 2), ('/home/nano/Desktop/images/12122025/15/14/image_12122025_15_15_04_9660.jpg', 2), ('/home/nano/Desktop/images/12122025/15/14/image_12122025_15_14_55_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/15/14/image_12122025_15_14_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:16:02.974140 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/15/image_12122025_15_15_45_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/15/15/image_12122025_15_15_24_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/15/15/image_12122025_15_15_15_10653.jpg', 2), ('/home/nano/Desktop/images/12122025/15/14/image_12122025_15_15_04_9660.jpg', 2), ('/home/nano/Desktop/images/12122025/15/14/image_12122025_15_14_55_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/15/14/image_12122025_15_14_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:16:32.518563 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/16/image_12122025_15_16_45_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/15/16/image_12122025_15_16_35_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/15/16/image_12122025_15_16_15_9647.jpg', 2), ('/home/nano/Desktop/images/12122025/15/15/image_12122025_15_15_54_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/15/15/image_12122025_15_15_45_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/15/15/image_12122025_15_15_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:17:03.252254 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/16/image_12122025_15_16_45_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/15/16/image_12122025_15_16_35_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/15/16/image_12122025_15_16_15_9647.jpg', 2), ('/home/nano/Desktop/images/12122025/15/15/image_12122025_15_15_54_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/15/15/image_12122025_15_15_45_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/15/15/image_12122025_15_15_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:17:32.598835 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/17/image_12122025_15_17_14_9664.jpg', 2), ('/home/nano/Desktop/images/12122025/15/16/image_12122025_15_17_05_10642.jpg', 2), ('/home/nano/Desktop/images/12122025/15/16/image_12122025_15_16_54_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/15/16/image_12122025_15_16_45_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/15/16/image_12122025_15_16_35_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/15/16/image_12122025_15_16_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:18:03.205775 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/17/image_12122025_15_17_14_9664.jpg', 2), ('/home/nano/Desktop/images/12122025/15/16/image_12122025_15_17_05_10642.jpg', 2), ('/home/nano/Desktop/images/12122025/15/16/image_12122025_15_16_54_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/15/16/image_12122025_15_16_45_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/15/16/image_12122025_15_16_35_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/15/16/image_12122025_15_16_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:18:32.709527 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/17/image_12122025_15_17_14_9664.jpg', 2), ('/home/nano/Desktop/images/12122025/15/16/image_12122025_15_17_05_10642.jpg', 2), ('/home/nano/Desktop/images/12122025/15/16/image_12122025_15_16_54_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/15/16/image_12122025_15_16_45_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/15/16/image_12122025_15_16_35_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/15/16/image_12122025_15_16_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:19:02.993214 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/17/image_12122025_15_17_14_9664.jpg', 2), ('/home/nano/Desktop/images/12122025/15/16/image_12122025_15_17_05_10642.jpg', 2), ('/home/nano/Desktop/images/12122025/15/16/image_12122025_15_16_54_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/15/16/image_12122025_15_16_45_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/15/16/image_12122025_15_16_35_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/15/16/image_12122025_15_16_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:19:31.831139 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/19/image_12122025_15_19_45_10637.jpg', 2), ('/home/nano/Desktop/images/12122025/15/19/image_12122025_15_19_34_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/15/19/image_12122025_15_19_25_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/15/17/image_12122025_15_17_24_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/15/17/image_12122025_15_17_14_9664.jpg', 2), ('/home/nano/Desktop/images/12122025/15/16/image_12122025_15_17_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:20:02.458589 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/19/image_12122025_15_19_45_10637.jpg', 2), ('/home/nano/Desktop/images/12122025/15/19/image_12122025_15_19_34_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/15/19/image_12122025_15_19_25_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/15/17/image_12122025_15_17_24_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/15/17/image_12122025_15_17_14_9664.jpg', 2), ('/home/nano/Desktop/images/12122025/15/16/image_12122025_15_17_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:20:31.960532 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/20/image_12122025_15_20_15_10652.jpg', 2), ('/home/nano/Desktop/images/12122025/15/19/image_12122025_15_19_55_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/15/19/image_12122025_15_19_45_10637.jpg', 2), ('/home/nano/Desktop/images/12122025/15/19/image_12122025_15_19_34_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/15/19/image_12122025_15_19_25_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/15/17/image_12122025_15_17_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:21:02.738330 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/20/image_12122025_15_20_15_10652.jpg', 2), ('/home/nano/Desktop/images/12122025/15/19/image_12122025_15_19_55_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/15/19/image_12122025_15_19_45_10637.jpg', 2), ('/home/nano/Desktop/images/12122025/15/19/image_12122025_15_19_34_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/15/19/image_12122025_15_19_25_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/15/17/image_12122025_15_17_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:21:32.039435 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/21/image_12122025_15_21_35_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/15/21/image_12122025_15_21_24_9643.jpg', 2), ('/home/nano/Desktop/images/12122025/15/21/image_12122025_15_21_15_10670.jpg', 2), ('/home/nano/Desktop/images/12122025/15/20/image_12122025_15_21_04_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/15/20/image_12122025_15_20_45_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/15/20/image_12122025_15_20_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:22:02.756659 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/21/image_12122025_15_21_35_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/15/21/image_12122025_15_21_24_9643.jpg', 2), ('/home/nano/Desktop/images/12122025/15/21/image_12122025_15_21_15_10670.jpg', 2), ('/home/nano/Desktop/images/12122025/15/20/image_12122025_15_21_04_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/15/20/image_12122025_15_20_45_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/15/20/image_12122025_15_20_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:22:32.235748 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/22/image_12122025_15_22_45_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/15/21/image_12122025_15_21_45_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/15/21/image_12122025_15_21_35_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/15/21/image_12122025_15_21_24_9643.jpg', 2), ('/home/nano/Desktop/images/12122025/15/21/image_12122025_15_21_15_10670.jpg', 2), ('/home/nano/Desktop/images/12122025/15/20/image_12122025_15_21_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:23:02.759591 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/22/image_12122025_15_22_45_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/15/21/image_12122025_15_21_45_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/15/21/image_12122025_15_21_35_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/15/21/image_12122025_15_21_24_9643.jpg', 2), ('/home/nano/Desktop/images/12122025/15/21/image_12122025_15_21_15_10670.jpg', 2), ('/home/nano/Desktop/images/12122025/15/20/image_12122025_15_21_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:23:32.331806 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/23/image_12122025_15_23_35_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/15/23/image_12122025_15_23_24_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/15/23/image_12122025_15_23_14_9657.jpg', 2), ('/home/nano/Desktop/images/12122025/15/22/image_12122025_15_23_05_10655.jpg', 2), ('/home/nano/Desktop/images/12122025/15/22/image_12122025_15_22_54_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/15/22/image_12122025_15_22_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:24:03.378562 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/23/image_12122025_15_23_35_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/15/23/image_12122025_15_23_24_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/15/23/image_12122025_15_23_14_9657.jpg', 2), ('/home/nano/Desktop/images/12122025/15/22/image_12122025_15_23_05_10655.jpg', 2), ('/home/nano/Desktop/images/12122025/15/22/image_12122025_15_22_54_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/15/22/image_12122025_15_22_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:24:32.430049 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/24/image_12122025_15_24_35_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/15/23/image_12122025_15_24_05_9645.jpg', 2), ('/home/nano/Desktop/images/12122025/15/23/image_12122025_15_23_55_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/15/23/image_12122025_15_23_35_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/15/23/image_12122025_15_23_24_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/15/23/image_12122025_15_23_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:25:03.089105 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/24/image_12122025_15_24_35_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/15/23/image_12122025_15_24_05_9645.jpg', 2), ('/home/nano/Desktop/images/12122025/15/23/image_12122025_15_23_55_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/15/23/image_12122025_15_23_35_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/15/23/image_12122025_15_23_24_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/15/23/image_12122025_15_23_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:25:32.552070 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/25/image_12122025_15_25_45_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/15/25/image_12122025_15_25_34_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/15/25/image_12122025_15_25_25_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/15/25/image_12122025_15_25_14_9654.jpg', 2), ('/home/nano/Desktop/images/12122025/15/24/image_12122025_15_25_04_9652.jpg', 2), ('/home/nano/Desktop/images/12122025/15/24/image_12122025_15_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:26:03.095186 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/25/image_12122025_15_25_45_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/15/25/image_12122025_15_25_34_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/15/25/image_12122025_15_25_25_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/15/25/image_12122025_15_25_14_9654.jpg', 2), ('/home/nano/Desktop/images/12122025/15/24/image_12122025_15_25_04_9652.jpg', 2), ('/home/nano/Desktop/images/12122025/15/24/image_12122025_15_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:26:32.633094 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/26/image_12122025_15_26_34_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/15/26/image_12122025_15_26_15_10648.jpg', 2), ('/home/nano/Desktop/images/12122025/15/25/image_12122025_15_25_55_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/15/25/image_12122025_15_25_45_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/15/25/image_12122025_15_25_34_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/15/25/image_12122025_15_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:27:03.482753 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/26/image_12122025_15_26_34_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/15/26/image_12122025_15_26_15_10648.jpg', 2), ('/home/nano/Desktop/images/12122025/15/25/image_12122025_15_25_55_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/15/25/image_12122025_15_25_45_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/15/25/image_12122025_15_25_34_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/15/25/image_12122025_15_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:27:32.742613 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/27/image_12122025_15_27_45_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/15/27/image_12122025_15_27_35_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/15/27/image_12122025_15_27_24_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/15/26/image_12122025_15_27_05_10661.jpg', 2), ('/home/nano/Desktop/images/12122025/15/26/image_12122025_15_26_45_10637.jpg', 2), ('/home/nano/Desktop/images/12122025/15/26/image_12122025_15_26_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:28:02.418028 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/27/image_12122025_15_27_45_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/15/27/image_12122025_15_27_35_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/15/27/image_12122025_15_27_24_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/15/26/image_12122025_15_27_05_10661.jpg', 2), ('/home/nano/Desktop/images/12122025/15/26/image_12122025_15_26_45_10637.jpg', 2), ('/home/nano/Desktop/images/12122025/15/26/image_12122025_15_26_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:28:31.862752 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/28/image_12122025_15_28_35_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/15/28/image_12122025_15_28_15_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/15/27/image_12122025_15_28_05_10651.jpg', 2), ('/home/nano/Desktop/images/12122025/15/27/image_12122025_15_27_54_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/15/27/image_12122025_15_27_45_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/15/27/image_12122025_15_27_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:29:02.968096 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/28/image_12122025_15_28_35_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/15/28/image_12122025_15_28_15_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/15/27/image_12122025_15_28_05_10651.jpg', 2), ('/home/nano/Desktop/images/12122025/15/27/image_12122025_15_27_54_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/15/27/image_12122025_15_27_45_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/15/27/image_12122025_15_27_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:29:31.971576 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/29/image_12122025_15_29_44_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/15/29/image_12122025_15_29_35_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/15/29/image_12122025_15_29_14_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/15/28/image_12122025_15_29_05_9651.jpg', 2), ('/home/nano/Desktop/images/12122025/15/28/image_12122025_15_28_55_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/15/28/image_12122025_15_28_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:30:02.532221 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/29/image_12122025_15_29_44_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/15/29/image_12122025_15_29_35_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/15/29/image_12122025_15_29_14_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/15/28/image_12122025_15_29_05_9651.jpg', 2), ('/home/nano/Desktop/images/12122025/15/28/image_12122025_15_28_55_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/15/28/image_12122025_15_28_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:30:32.094192 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/30/image_12122025_15_30_45_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/15/30/image_12122025_15_30_25_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/15/30/image_12122025_15_30_14_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/15/29/image_12122025_15_30_05_9650.jpg', 2), ('/home/nano/Desktop/images/12122025/15/29/image_12122025_15_29_55_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/15/29/image_12122025_15_29_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:31:02.917822 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/30/image_12122025_15_30_45_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/15/30/image_12122025_15_30_25_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/15/30/image_12122025_15_30_14_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/15/29/image_12122025_15_30_05_9650.jpg', 2), ('/home/nano/Desktop/images/12122025/15/29/image_12122025_15_29_55_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/15/29/image_12122025_15_29_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:31:32.178860 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/31/image_12122025_15_31_15_10651.jpg', 2), ('/home/nano/Desktop/images/12122025/15/30/image_12122025_15_31_04_9663.jpg', 2), ('/home/nano/Desktop/images/12122025/15/30/image_12122025_15_30_55_9641.jpg', 2), ('/home/nano/Desktop/images/12122025/15/30/image_12122025_15_30_45_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/15/30/image_12122025_15_30_25_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/15/30/image_12122025_15_30_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:32:02.834144 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/31/image_12122025_15_31_15_10651.jpg', 2), ('/home/nano/Desktop/images/12122025/15/30/image_12122025_15_31_04_9663.jpg', 2), ('/home/nano/Desktop/images/12122025/15/30/image_12122025_15_30_55_9641.jpg', 2), ('/home/nano/Desktop/images/12122025/15/30/image_12122025_15_30_45_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/15/30/image_12122025_15_30_25_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/15/30/image_12122025_15_30_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:32:32.353359 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/32/image_12122025_15_32_45_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/15/32/image_12122025_15_32_35_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/15/32/image_12122025_15_32_24_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/15/32/image_12122025_15_32_15_10650.jpg', 2), ('/home/nano/Desktop/images/12122025/15/31/image_12122025_15_32_04_9652.jpg', 2), ('/home/nano/Desktop/images/12122025/15/31/image_12122025_15_31_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:33:02.922653 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/32/image_12122025_15_32_45_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/15/32/image_12122025_15_32_35_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/15/32/image_12122025_15_32_24_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/15/32/image_12122025_15_32_15_10650.jpg', 2), ('/home/nano/Desktop/images/12122025/15/31/image_12122025_15_32_04_9652.jpg', 2), ('/home/nano/Desktop/images/12122025/15/31/image_12122025_15_31_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:33:32.371941 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/33/image_12122025_15_33_24_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/15/33/image_12122025_15_33_15_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/15/32/image_12122025_15_33_05_10645.jpg', 2), ('/home/nano/Desktop/images/12122025/15/32/image_12122025_15_32_54_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/15/32/image_12122025_15_32_45_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/15/32/image_12122025_15_32_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:34:03.559717 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/33/image_12122025_15_33_24_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/15/33/image_12122025_15_33_15_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/15/32/image_12122025_15_33_05_10645.jpg', 2), ('/home/nano/Desktop/images/12122025/15/32/image_12122025_15_32_54_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/15/32/image_12122025_15_32_45_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/15/32/image_12122025_15_32_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:34:32.473057 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/34/image_12122025_15_34_35_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/15/34/image_12122025_15_34_25_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/15/33/image_12122025_15_33_35_10649.jpg', 2), ('/home/nano/Desktop/images/12122025/15/33/image_12122025_15_33_24_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/15/33/image_12122025_15_33_15_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/15/32/image_12122025_15_33_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:35:03.283521 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/34/image_12122025_15_34_35_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/15/34/image_12122025_15_34_25_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/15/33/image_12122025_15_33_35_10649.jpg', 2), ('/home/nano/Desktop/images/12122025/15/33/image_12122025_15_33_24_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/15/33/image_12122025_15_33_15_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/15/32/image_12122025_15_33_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:35:32.575444 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/35/image_12122025_15_35_25_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/15/35/image_12122025_15_35_14_9641.jpg', 2), ('/home/nano/Desktop/images/12122025/15/34/image_12122025_15_35_05_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/15/34/image_12122025_15_34_55_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/15/34/image_12122025_15_34_35_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/15/34/image_12122025_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:36:02.437045 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/35/image_12122025_15_35_25_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/15/35/image_12122025_15_35_14_9641.jpg', 2), ('/home/nano/Desktop/images/12122025/15/34/image_12122025_15_35_05_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/15/34/image_12122025_15_34_55_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/15/34/image_12122025_15_34_35_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/15/34/image_12122025_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:36:31.793133 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/36/image_12122025_15_36_45_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/15/36/image_12122025_15_36_34_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/15/36/image_12122025_15_36_25_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/15/36/image_12122025_15_36_15_10673.jpg', 2), ('/home/nano/Desktop/images/12122025/15/35/image_12122025_15_36_04_9663.jpg', 2), ('/home/nano/Desktop/images/12122025/15/35/image_12122025_15_35_34_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:37:02.464636 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/36/image_12122025_15_36_45_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/15/36/image_12122025_15_36_34_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/15/36/image_12122025_15_36_25_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/15/36/image_12122025_15_36_15_10673.jpg', 2), ('/home/nano/Desktop/images/12122025/15/35/image_12122025_15_36_04_9663.jpg', 2), ('/home/nano/Desktop/images/12122025/15/35/image_12122025_15_35_34_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:37:31.921128 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/37/image_12122025_15_37_45_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/15/37/image_12122025_15_37_35_10622.jpg', 2), ('/home/nano/Desktop/images/12122025/15/37/image_12122025_15_37_24_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/15/37/image_12122025_15_37_15_10678.jpg', 2), ('/home/nano/Desktop/images/12122025/15/36/image_12122025_15_37_04_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/15/36/image_12122025_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:38:02.665383 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/37/image_12122025_15_37_45_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/15/37/image_12122025_15_37_35_10622.jpg', 2), ('/home/nano/Desktop/images/12122025/15/37/image_12122025_15_37_24_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/15/37/image_12122025_15_37_15_10678.jpg', 2), ('/home/nano/Desktop/images/12122025/15/36/image_12122025_15_37_04_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/15/36/image_12122025_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:38:31.977828 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/38/image_12122025_15_38_44_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/15/38/image_12122025_15_38_35_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/15/38/image_12122025_15_38_15_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/15/37/image_12122025_15_38_05_10641.jpg', 2), ('/home/nano/Desktop/images/12122025/15/37/image_12122025_15_37_54_9611.jpg', 2), ('/home/nano/Desktop/images/12122025/15/37/image_12122025_15_37_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:39:02.958562 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/39/image_12122025_15_39_25_10619.jpg', 2), ('/home/nano/Desktop/images/12122025/15/38/image_12122025_15_38_44_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/15/38/image_12122025_15_38_35_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/15/38/image_12122025_15_38_15_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/15/37/image_12122025_15_38_05_10641.jpg', 2), ('/home/nano/Desktop/images/12122025/15/37/image_12122025_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:39:32.123256 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/39/image_12122025_15_39_45_10620.jpg', 2), ('/home/nano/Desktop/images/12122025/15/39/image_12122025_15_39_34_9611.jpg', 2), ('/home/nano/Desktop/images/12122025/15/39/image_12122025_15_39_25_10619.jpg', 2), ('/home/nano/Desktop/images/12122025/15/39/image_12122025_15_39_14_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/15/38/image_12122025_15_39_05_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/15/38/image_12122025_15_38_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:40:02.767882 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/39/image_12122025_15_39_45_10620.jpg', 2), ('/home/nano/Desktop/images/12122025/15/39/image_12122025_15_39_34_9611.jpg', 2), ('/home/nano/Desktop/images/12122025/15/39/image_12122025_15_39_25_10619.jpg', 2), ('/home/nano/Desktop/images/12122025/15/39/image_12122025_15_39_14_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/15/38/image_12122025_15_39_05_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/15/38/image_12122025_15_38_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:40:32.188405 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/40/image_12122025_15_40_45_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/15/40/image_12122025_15_40_34_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/15/40/image_12122025_15_40_25_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/15/40/image_12122025_15_40_15_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/15/39/image_12122025_15_40_04_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/15/39/image_12122025_15_39_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:41:03.048418 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/40/image_12122025_15_40_45_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/15/40/image_12122025_15_40_34_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/15/40/image_12122025_15_40_25_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/15/40/image_12122025_15_40_15_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/15/39/image_12122025_15_40_04_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/15/39/image_12122025_15_39_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:41:32.289300 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/41/image_12122025_15_41_44_9668.jpg', 2), ('/home/nano/Desktop/images/12122025/15/41/image_12122025_15_41_35_10617.jpg', 2), ('/home/nano/Desktop/images/12122025/15/41/image_12122025_15_41_24_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/15/41/image_12122025_15_41_15_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/15/40/image_12122025_15_41_05_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/15/40/image_12122025_15_40_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:42:02.795764 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/41/image_12122025_15_41_44_9668.jpg', 2), ('/home/nano/Desktop/images/12122025/15/41/image_12122025_15_41_35_10617.jpg', 2), ('/home/nano/Desktop/images/12122025/15/41/image_12122025_15_41_24_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/15/41/image_12122025_15_41_15_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/15/40/image_12122025_15_41_05_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/15/40/image_12122025_15_40_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:42:32.415734 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/42/image_12122025_15_42_44_9669.jpg', 2), ('/home/nano/Desktop/images/12122025/15/42/image_12122025_15_42_35_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/15/42/image_12122025_15_42_25_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/15/42/image_12122025_15_42_14_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/15/41/image_12122025_15_42_05_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/15/41/image_12122025_15_41_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:43:03.190245 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/42/image_12122025_15_42_44_9669.jpg', 2), ('/home/nano/Desktop/images/12122025/15/42/image_12122025_15_42_35_9589.jpg', 2), ('/home/nano/Desktop/images/12122025/15/42/image_12122025_15_42_25_10594.jpg', 2), ('/home/nano/Desktop/images/12122025/15/42/image_12122025_15_42_14_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/15/41/image_12122025_15_42_05_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/15/41/image_12122025_15_41_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:43:32.533017 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/43/image_12122025_15_43_44_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/15/43/image_12122025_15_43_35_9710.jpg', 2), ('/home/nano/Desktop/images/12122025/15/43/image_12122025_15_43_25_10648.jpg', 2), ('/home/nano/Desktop/images/12122025/15/43/image_12122025_15_43_14_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/15/42/image_12122025_15_43_05_9665.jpg', 2), ('/home/nano/Desktop/images/12122025/15/42/image_12122025_15_42_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:44:03.513034 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/43/image_12122025_15_43_44_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/15/43/image_12122025_15_43_35_9710.jpg', 2), ('/home/nano/Desktop/images/12122025/15/43/image_12122025_15_43_25_10648.jpg', 2), ('/home/nano/Desktop/images/12122025/15/43/image_12122025_15_43_14_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/15/42/image_12122025_15_43_05_9665.jpg', 2), ('/home/nano/Desktop/images/12122025/15/42/image_12122025_15_42_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:44:32.635316 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/44/image_12122025_15_44_45_10659.jpg', 2), ('/home/nano/Desktop/images/12122025/15/44/image_12122025_15_44_34_9655.jpg', 2), ('/home/nano/Desktop/images/12122025/15/44/image_12122025_15_44_25_9662.jpg', 2), ('/home/nano/Desktop/images/12122025/15/44/image_12122025_15_44_15_10625.jpg', 2), ('/home/nano/Desktop/images/12122025/15/43/image_12122025_15_44_04_9636.jpg', 2), ('/home/nano/Desktop/images/12122025/15/43/image_12122025_15_43_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:45:03.442132 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/44/image_12122025_15_44_45_10659.jpg', 2), ('/home/nano/Desktop/images/12122025/15/44/image_12122025_15_44_34_9655.jpg', 2), ('/home/nano/Desktop/images/12122025/15/44/image_12122025_15_44_25_9662.jpg', 2), ('/home/nano/Desktop/images/12122025/15/44/image_12122025_15_44_15_10625.jpg', 2), ('/home/nano/Desktop/images/12122025/15/43/image_12122025_15_44_04_9636.jpg', 2), ('/home/nano/Desktop/images/12122025/15/43/image_12122025_15_43_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:45:32.746619 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/45/image_12122025_15_45_45_10620.jpg', 2), ('/home/nano/Desktop/images/12122025/15/45/image_12122025_15_45_34_9681.jpg', 2), ('/home/nano/Desktop/images/12122025/15/45/image_12122025_15_45_25_9651.jpg', 2), ('/home/nano/Desktop/images/12122025/15/45/image_12122025_15_45_15_10645.jpg', 2), ('/home/nano/Desktop/images/12122025/15/44/image_12122025_15_45_04_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/15/44/image_12122025_15_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:46:02.462631 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/45/image_12122025_15_45_45_10620.jpg', 2), ('/home/nano/Desktop/images/12122025/15/45/image_12122025_15_45_34_9681.jpg', 2), ('/home/nano/Desktop/images/12122025/15/45/image_12122025_15_45_25_9651.jpg', 2), ('/home/nano/Desktop/images/12122025/15/45/image_12122025_15_45_15_10645.jpg', 2), ('/home/nano/Desktop/images/12122025/15/44/image_12122025_15_45_04_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/15/44/image_12122025_15_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:46:31.845355 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/46/image_12122025_15_46_44_9595.jpg', 2), ('/home/nano/Desktop/images/12122025/15/46/image_12122025_15_46_35_10618.jpg', 2), ('/home/nano/Desktop/images/12122025/15/46/image_12122025_15_46_24_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/15/46/image_12122025_15_46_15_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/15/45/image_12122025_15_46_05_10607.jpg', 2), ('/home/nano/Desktop/images/12122025/15/45/image_12122025_15_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:47:02.655906 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/46/image_12122025_15_46_44_9595.jpg', 2), ('/home/nano/Desktop/images/12122025/15/46/image_12122025_15_46_35_10618.jpg', 2), ('/home/nano/Desktop/images/12122025/15/46/image_12122025_15_46_24_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/15/46/image_12122025_15_46_15_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/15/45/image_12122025_15_46_05_10607.jpg', 2), ('/home/nano/Desktop/images/12122025/15/45/image_12122025_15_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:47:32.003449 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/47/image_12122025_15_47_44_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/15/47/image_12122025_15_47_35_9643.jpg', 2), ('/home/nano/Desktop/images/12122025/15/47/image_12122025_15_47_25_10606.jpg', 2), ('/home/nano/Desktop/images/12122025/15/47/image_12122025_15_47_14_9611.jpg', 2), ('/home/nano/Desktop/images/12122025/15/46/image_12122025_15_47_05_10626.jpg', 2), ('/home/nano/Desktop/images/12122025/15/46/image_12122025_15_46_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:48:02.531065 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/47/image_12122025_15_47_44_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/15/47/image_12122025_15_47_35_9643.jpg', 2), ('/home/nano/Desktop/images/12122025/15/47/image_12122025_15_47_25_10606.jpg', 2), ('/home/nano/Desktop/images/12122025/15/47/image_12122025_15_47_14_9611.jpg', 2), ('/home/nano/Desktop/images/12122025/15/46/image_12122025_15_47_05_10626.jpg', 2), ('/home/nano/Desktop/images/12122025/15/46/image_12122025_15_46_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:48:32.102721 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/48/image_12122025_15_48_45_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/15/48/image_12122025_15_48_34_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/15/48/image_12122025_15_48_25_10616.jpg', 2), ('/home/nano/Desktop/images/12122025/15/48/image_12122025_15_48_14_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/15/47/image_12122025_15_48_04_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/15/47/image_12122025_15_47_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:49:03.325781 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/48/image_12122025_15_48_45_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/15/48/image_12122025_15_48_34_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/15/48/image_12122025_15_48_25_10616.jpg', 2), ('/home/nano/Desktop/images/12122025/15/48/image_12122025_15_48_14_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/15/47/image_12122025_15_48_04_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/15/47/image_12122025_15_47_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:49:32.234695 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/49/image_12122025_15_49_45_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/15/49/image_12122025_15_49_35_10619.jpg', 2), ('/home/nano/Desktop/images/12122025/15/49/image_12122025_15_49_15_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/15/48/image_12122025_15_49_04_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/15/48/image_12122025_15_48_55_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/15/48/image_12122025_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:50:02.956865 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/49/image_12122025_15_49_45_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/15/49/image_12122025_15_49_35_10619.jpg', 2), ('/home/nano/Desktop/images/12122025/15/49/image_12122025_15_49_15_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/15/48/image_12122025_15_49_04_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/15/48/image_12122025_15_48_55_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/15/48/image_12122025_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:50:32.368657 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/50/image_12122025_15_50_44_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/15/50/image_12122025_15_50_35_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/15/50/image_12122025_15_50_15_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/15/49/image_12122025_15_50_05_10621.jpg', 2), ('/home/nano/Desktop/images/12122025/15/49/image_12122025_15_49_54_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/15/49/image_12122025_15_49_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:51:03.144360 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/50/image_12122025_15_50_44_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/15/50/image_12122025_15_50_35_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/15/50/image_12122025_15_50_15_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/15/49/image_12122025_15_50_05_10621.jpg', 2), ('/home/nano/Desktop/images/12122025/15/49/image_12122025_15_49_54_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/15/49/image_12122025_15_49_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:51:32.464050 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/51/image_12122025_15_51_45_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/15/51/image_12122025_15_51_34_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/15/51/image_12122025_15_51_25_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/15/51/image_12122025_15_51_14_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/15/50/image_12122025_15_51_05_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/15/50/image_12122025_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:52:02.957649 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/51/image_12122025_15_51_45_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/15/51/image_12122025_15_51_34_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/15/51/image_12122025_15_51_25_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/15/51/image_12122025_15_51_14_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/15/50/image_12122025_15_51_05_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/15/50/image_12122025_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:52:32.646728 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/52/image_12122025_15_52_34_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/15/52/image_12122025_15_52_25_9595.jpg', 2), ('/home/nano/Desktop/images/12122025/15/52/image_12122025_15_52_15_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/15/51/image_12122025_15_52_04_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/15/51/image_12122025_15_51_55_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/15/51/image_12122025_15_51_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:53:03.495383 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/52/image_12122025_15_52_34_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/15/52/image_12122025_15_52_25_9595.jpg', 2), ('/home/nano/Desktop/images/12122025/15/52/image_12122025_15_52_15_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/15/51/image_12122025_15_52_04_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/15/51/image_12122025_15_51_55_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/15/51/image_12122025_15_51_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:53:32.772187 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/53/image_12122025_15_53_35_10625.jpg', 2), ('/home/nano/Desktop/images/12122025/15/53/image_12122025_15_53_24_9616.jpg', 2), ('/home/nano/Desktop/images/12122025/15/53/image_12122025_15_53_15_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/15/52/image_12122025_15_53_05_10624.jpg', 2), ('/home/nano/Desktop/images/12122025/15/52/image_12122025_15_52_45_10619.jpg', 2), ('/home/nano/Desktop/images/12122025/15/52/image_12122025_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:54:02.745106 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/53/image_12122025_15_53_35_10625.jpg', 2), ('/home/nano/Desktop/images/12122025/15/53/image_12122025_15_53_24_9616.jpg', 2), ('/home/nano/Desktop/images/12122025/15/53/image_12122025_15_53_15_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/15/52/image_12122025_15_53_05_10624.jpg', 2), ('/home/nano/Desktop/images/12122025/15/52/image_12122025_15_52_45_10619.jpg', 2), ('/home/nano/Desktop/images/12122025/15/52/image_12122025_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:54:32.002164 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/54/image_12122025_15_54_44_9702.jpg', 2), ('/home/nano/Desktop/images/12122025/15/54/image_12122025_15_54_35_9666.jpg', 2), ('/home/nano/Desktop/images/12122025/15/54/image_12122025_15_54_25_10702.jpg', 2), ('/home/nano/Desktop/images/12122025/15/54/image_12122025_15_54_14_9634.jpg', 2), ('/home/nano/Desktop/images/12122025/15/53/image_12122025_15_54_05_10620.jpg', 2), ('/home/nano/Desktop/images/12122025/15/53/image_12122025_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:55:02.810704 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/54/image_12122025_15_54_44_9702.jpg', 2), ('/home/nano/Desktop/images/12122025/15/54/image_12122025_15_54_35_9666.jpg', 2), ('/home/nano/Desktop/images/12122025/15/54/image_12122025_15_54_25_10702.jpg', 2), ('/home/nano/Desktop/images/12122025/15/54/image_12122025_15_54_14_9634.jpg', 2), ('/home/nano/Desktop/images/12122025/15/53/image_12122025_15_54_05_10620.jpg', 2), ('/home/nano/Desktop/images/12122025/15/53/image_12122025_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:55:32.043295 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/55/image_12122025_15_55_45_10816.jpg', 2), ('/home/nano/Desktop/images/12122025/15/55/image_12122025_15_55_34_9808.jpg', 2), ('/home/nano/Desktop/images/12122025/15/55/image_12122025_15_55_24_9802.jpg', 2), ('/home/nano/Desktop/images/12122025/15/55/image_12122025_15_55_14_9689.jpg', 2), ('/home/nano/Desktop/images/12122025/15/54/image_12122025_15_55_05_10705.jpg', 2), ('/home/nano/Desktop/images/12122025/15/54/image_12122025_15_54_54_9664.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:56:02.667431 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/55/image_12122025_15_55_45_10816.jpg', 2), ('/home/nano/Desktop/images/12122025/15/55/image_12122025_15_55_34_9808.jpg', 2), ('/home/nano/Desktop/images/12122025/15/55/image_12122025_15_55_24_9802.jpg', 2), ('/home/nano/Desktop/images/12122025/15/55/image_12122025_15_55_14_9689.jpg', 2), ('/home/nano/Desktop/images/12122025/15/54/image_12122025_15_55_05_10705.jpg', 2), ('/home/nano/Desktop/images/12122025/15/54/image_12122025_15_54_54_9664.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:56:32.123168 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/56/image_12122025_15_56_44_9648.jpg', 2), ('/home/nano/Desktop/images/12122025/15/56/image_12122025_15_56_35_9671.jpg', 2), ('/home/nano/Desktop/images/12122025/15/56/image_12122025_15_56_25_9809.jpg', 2), ('/home/nano/Desktop/images/12122025/15/56/image_12122025_15_56_15_10688.jpg', 2), ('/home/nano/Desktop/images/12122025/15/55/image_12122025_15_56_04_9669.jpg', 2), ('/home/nano/Desktop/images/12122025/15/55/image_12122025_15_55_55_9810.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:57:02.836609 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/56/image_12122025_15_56_44_9648.jpg', 2), ('/home/nano/Desktop/images/12122025/15/56/image_12122025_15_56_35_9671.jpg', 2), ('/home/nano/Desktop/images/12122025/15/56/image_12122025_15_56_25_9809.jpg', 2), ('/home/nano/Desktop/images/12122025/15/56/image_12122025_15_56_15_10688.jpg', 2), ('/home/nano/Desktop/images/12122025/15/55/image_12122025_15_56_04_9669.jpg', 2), ('/home/nano/Desktop/images/12122025/15/55/image_12122025_15_55_55_9810.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:57:32.180641 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/57/image_12122025_15_57_45_10628.jpg', 2), ('/home/nano/Desktop/images/12122025/15/57/image_12122025_15_57_34_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/15/57/image_12122025_15_57_25_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/15/57/image_12122025_15_57_15_10617.jpg', 2), ('/home/nano/Desktop/images/12122025/15/56/image_12122025_15_57_04_9614.jpg', 2), ('/home/nano/Desktop/images/12122025/15/56/image_12122025_15_56_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:58:02.576259 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/57/image_12122025_15_57_45_10628.jpg', 2), ('/home/nano/Desktop/images/12122025/15/57/image_12122025_15_57_34_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/15/57/image_12122025_15_57_25_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/15/57/image_12122025_15_57_15_10617.jpg', 2), ('/home/nano/Desktop/images/12122025/15/56/image_12122025_15_57_04_9614.jpg', 2), ('/home/nano/Desktop/images/12122025/15/56/image_12122025_15_56_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:58:47.348523 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/57/image_12122025_15_57_45_10628.jpg', 2), ('/home/nano/Desktop/images/12122025/15/57/image_12122025_15_57_34_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/15/57/image_12122025_15_57_25_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/15/57/image_12122025_15_57_15_10617.jpg', 2), ('/home/nano/Desktop/images/12122025/15/56/image_12122025_15_57_04_9614.jpg', 2), ('/home/nano/Desktop/images/12122025/15/56/image_12122025_15_56_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:59:17.481023 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/59/image_12122025_15_59_45_9633.jpg', 2), ('/home/nano/Desktop/images/12122025/15/59/image_12122025_15_59_35_10660.jpg', 2), ('/home/nano/Desktop/images/12122025/15/59/image_12122025_15_59_24_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/15/59/image_12122025_15_59_15_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/15/58/image_12122025_15_59_05_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/15/58/image_12122025_15_58_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 15:59:47.468422 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/15/59/image_12122025_15_59_45_9633.jpg', 2), ('/home/nano/Desktop/images/12122025/15/59/image_12122025_15_59_35_10660.jpg', 2), ('/home/nano/Desktop/images/12122025/15/59/image_12122025_15_59_24_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/15/59/image_12122025_15_59_15_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/15/58/image_12122025_15_59_05_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/15/58/image_12122025_15_58_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:00:17.557584 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/00/image_12122025_16_00_45_9660.jpg', 2), ('/home/nano/Desktop/images/12122025/16/00/image_12122025_16_00_35_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/16/00/image_12122025_16_00_24_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/16/00/image_12122025_16_00_15_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/15/59/image_12122025_16_00_05_10675.jpg', 2), ('/home/nano/Desktop/images/12122025/15/59/image_12122025_15_59_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:00:47.558452 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/00/image_12122025_16_00_45_9660.jpg', 2), ('/home/nano/Desktop/images/12122025/16/00/image_12122025_16_00_35_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/16/00/image_12122025_16_00_24_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/16/00/image_12122025_16_00_15_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/15/59/image_12122025_16_00_05_10675.jpg', 2), ('/home/nano/Desktop/images/12122025/15/59/image_12122025_15_59_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:01:17.669109 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/01/image_12122025_16_01_44_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/16/01/image_12122025_16_01_35_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/16/01/image_12122025_16_01_24_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/16/01/image_12122025_16_01_15_9716.jpg', 2), ('/home/nano/Desktop/images/12122025/16/00/image_12122025_16_01_05_10649.jpg', 2), ('/home/nano/Desktop/images/12122025/16/00/image_12122025_16_00_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:01:47.726944 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/01/image_12122025_16_01_44_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/16/01/image_12122025_16_01_35_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/16/01/image_12122025_16_01_24_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/16/01/image_12122025_16_01_15_9716.jpg', 2), ('/home/nano/Desktop/images/12122025/16/00/image_12122025_16_01_05_10649.jpg', 2), ('/home/nano/Desktop/images/12122025/16/00/image_12122025_16_00_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:02:16.798800 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/02/image_12122025_16_02_44_9611.jpg', 2), ('/home/nano/Desktop/images/12122025/16/02/image_12122025_16_02_35_9645.jpg', 2), ('/home/nano/Desktop/images/12122025/16/02/image_12122025_16_02_25_10653.jpg', 2), ('/home/nano/Desktop/images/12122025/16/02/image_12122025_16_02_14_9631.jpg', 2), ('/home/nano/Desktop/images/12122025/16/01/image_12122025_16_02_05_9662.jpg', 2), ('/home/nano/Desktop/images/12122025/16/01/image_12122025_16_01_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:02:46.804423 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/02/image_12122025_16_02_44_9611.jpg', 2), ('/home/nano/Desktop/images/12122025/16/02/image_12122025_16_02_35_9645.jpg', 2), ('/home/nano/Desktop/images/12122025/16/02/image_12122025_16_02_25_10653.jpg', 2), ('/home/nano/Desktop/images/12122025/16/02/image_12122025_16_02_14_9631.jpg', 2), ('/home/nano/Desktop/images/12122025/16/01/image_12122025_16_02_05_9662.jpg', 2), ('/home/nano/Desktop/images/12122025/16/01/image_12122025_16_01_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:03:16.958948 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/03/image_12122025_16_03_45_10620.jpg', 2), ('/home/nano/Desktop/images/12122025/16/03/image_12122025_16_03_34_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/16/03/image_12122025_16_03_25_10624.jpg', 2), ('/home/nano/Desktop/images/12122025/16/03/image_12122025_16_03_14_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/16/02/image_12122025_16_03_04_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/16/02/image_12122025_16_02_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:03:46.889630 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/03/image_12122025_16_03_45_10620.jpg', 2), ('/home/nano/Desktop/images/12122025/16/03/image_12122025_16_03_34_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/16/03/image_12122025_16_03_25_10624.jpg', 2), ('/home/nano/Desktop/images/12122025/16/03/image_12122025_16_03_14_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/16/02/image_12122025_16_03_04_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/16/02/image_12122025_16_02_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:04:17.096882 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/04/image_12122025_16_04_45_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/16/04/image_12122025_16_04_35_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/16/04/image_12122025_16_04_24_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/16/04/image_12122025_16_04_15_10667.jpg', 2), ('/home/nano/Desktop/images/12122025/16/03/image_12122025_16_04_04_9616.jpg', 2), ('/home/nano/Desktop/images/12122025/16/03/image_12122025_16_03_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:04:47.027545 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/04/image_12122025_16_04_45_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/16/04/image_12122025_16_04_35_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/16/04/image_12122025_16_04_24_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/16/04/image_12122025_16_04_15_10667.jpg', 2), ('/home/nano/Desktop/images/12122025/16/03/image_12122025_16_04_04_9616.jpg', 2), ('/home/nano/Desktop/images/12122025/16/03/image_12122025_16_03_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:05:17.127224 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/05/image_12122025_16_05_45_9643.jpg', 2), ('/home/nano/Desktop/images/12122025/16/05/image_12122025_16_05_35_10622.jpg', 2), ('/home/nano/Desktop/images/12122025/16/05/image_12122025_16_05_24_9694.jpg', 2), ('/home/nano/Desktop/images/12122025/16/05/image_12122025_16_05_15_9616.jpg', 2), ('/home/nano/Desktop/images/12122025/16/04/image_12122025_16_05_05_10644.jpg', 2), ('/home/nano/Desktop/images/12122025/16/04/image_12122025_16_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:05:47.116937 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/05/image_12122025_16_05_45_9643.jpg', 2), ('/home/nano/Desktop/images/12122025/16/05/image_12122025_16_05_35_10622.jpg', 2), ('/home/nano/Desktop/images/12122025/16/05/image_12122025_16_05_24_9694.jpg', 2), ('/home/nano/Desktop/images/12122025/16/05/image_12122025_16_05_15_9616.jpg', 2), ('/home/nano/Desktop/images/12122025/16/04/image_12122025_16_05_05_10644.jpg', 2), ('/home/nano/Desktop/images/12122025/16/04/image_12122025_16_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:06:17.203161 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/06/image_12122025_16_06_54_9719.jpg', 2), ('/home/nano/Desktop/images/12122025/16/06/image_12122025_16_06_35_10639.jpg', 2), ('/home/nano/Desktop/images/12122025/16/06/image_12122025_16_06_24_9647.jpg', 2), ('/home/nano/Desktop/images/12122025/16/06/image_12122025_16_06_15_9768.jpg', 2), ('/home/nano/Desktop/images/12122025/16/05/image_12122025_16_06_05_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/16/05/image_12122025_16_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:06:47.206738 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/06/image_12122025_16_06_54_9719.jpg', 2), ('/home/nano/Desktop/images/12122025/16/06/image_12122025_16_06_35_10639.jpg', 2), ('/home/nano/Desktop/images/12122025/16/06/image_12122025_16_06_24_9647.jpg', 2), ('/home/nano/Desktop/images/12122025/16/06/image_12122025_16_06_15_9768.jpg', 2), ('/home/nano/Desktop/images/12122025/16/05/image_12122025_16_06_05_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/16/05/image_12122025_16_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:07:17.320633 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/07/image_12122025_16_07_45_10652.jpg', 2), ('/home/nano/Desktop/images/12122025/16/07/image_12122025_16_07_34_9645.jpg', 2), ('/home/nano/Desktop/images/12122025/16/07/image_12122025_16_07_25_9726.jpg', 2), ('/home/nano/Desktop/images/12122025/16/07/image_12122025_16_07_15_9733.jpg', 2), ('/home/nano/Desktop/images/12122025/16/06/image_12122025_16_07_05_10740.jpg', 2), ('/home/nano/Desktop/images/12122025/16/06/image_12122025_16_06_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:07:47.328176 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/07/image_12122025_16_07_45_10652.jpg', 2), ('/home/nano/Desktop/images/12122025/16/07/image_12122025_16_07_34_9645.jpg', 2), ('/home/nano/Desktop/images/12122025/16/07/image_12122025_16_07_25_9726.jpg', 2), ('/home/nano/Desktop/images/12122025/16/07/image_12122025_16_07_15_9733.jpg', 2), ('/home/nano/Desktop/images/12122025/16/06/image_12122025_16_07_05_10740.jpg', 2), ('/home/nano/Desktop/images/12122025/16/06/image_12122025_16_06_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:08:17.439526 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/08/image_12122025_16_08_45_10646.jpg', 2), ('/home/nano/Desktop/images/12122025/16/08/image_12122025_16_08_34_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/16/08/image_12122025_16_08_25_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/16/08/image_12122025_16_08_15_10738.jpg', 2), ('/home/nano/Desktop/images/12122025/16/07/image_12122025_16_08_04_9721.jpg', 2), ('/home/nano/Desktop/images/12122025/16/07/image_12122025_16_07_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:08:47.434490 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/08/image_12122025_16_08_45_10646.jpg', 2), ('/home/nano/Desktop/images/12122025/16/08/image_12122025_16_08_34_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/16/08/image_12122025_16_08_25_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/16/08/image_12122025_16_08_15_10738.jpg', 2), ('/home/nano/Desktop/images/12122025/16/07/image_12122025_16_08_04_9721.jpg', 2), ('/home/nano/Desktop/images/12122025/16/07/image_12122025_16_07_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:09:17.594354 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/09/image_12122025_16_09_45_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/16/09/image_12122025_16_09_35_10617.jpg', 2), ('/home/nano/Desktop/images/12122025/16/09/image_12122025_16_09_24_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/16/09/image_12122025_16_09_15_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/16/08/image_12122025_16_09_05_10658.jpg', 2), ('/home/nano/Desktop/images/12122025/16/08/image_12122025_16_08_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:09:47.547291 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/09/image_12122025_16_09_45_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/16/09/image_12122025_16_09_35_10617.jpg', 2), ('/home/nano/Desktop/images/12122025/16/09/image_12122025_16_09_24_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/16/09/image_12122025_16_09_15_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/16/08/image_12122025_16_09_05_10658.jpg', 2), ('/home/nano/Desktop/images/12122025/16/08/image_12122025_16_08_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:10:17.677363 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/10/image_12122025_16_10_44_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/16/10/image_12122025_16_10_35_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/16/10/image_12122025_16_10_25_10624.jpg', 2), ('/home/nano/Desktop/images/12122025/16/10/image_12122025_16_10_14_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/16/09/image_12122025_16_10_05_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/16/09/image_12122025_16_09_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:10:47.647133 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/10/image_12122025_16_10_44_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/16/10/image_12122025_16_10_35_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/16/10/image_12122025_16_10_25_10624.jpg', 2), ('/home/nano/Desktop/images/12122025/16/10/image_12122025_16_10_14_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/16/09/image_12122025_16_10_05_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/16/09/image_12122025_16_09_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:11:17.741330 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/11/image_12122025_16_11_45_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/16/11/image_12122025_16_11_34_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/16/11/image_12122025_16_11_25_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/16/11/image_12122025_16_11_15_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/16/10/image_12122025_16_11_04_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/16/10/image_12122025_16_10_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:11:47.772523 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/11/image_12122025_16_11_45_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/16/11/image_12122025_16_11_34_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/16/11/image_12122025_16_11_25_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/16/11/image_12122025_16_11_15_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/16/10/image_12122025_16_11_04_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/16/10/image_12122025_16_10_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:12:16.874447 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/12/image_12122025_16_12_45_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/16/12/image_12122025_16_12_35_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/16/12/image_12122025_16_12_24_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/16/12/image_12122025_16_12_15_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/16/11/image_12122025_16_12_05_10621.jpg', 2), ('/home/nano/Desktop/images/12122025/16/11/image_12122025_16_11_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:12:46.872831 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/12/image_12122025_16_12_45_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/16/12/image_12122025_16_12_35_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/16/12/image_12122025_16_12_24_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/16/12/image_12122025_16_12_15_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/16/11/image_12122025_16_12_05_10621.jpg', 2), ('/home/nano/Desktop/images/12122025/16/11/image_12122025_16_11_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:13:16.989412 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/13/image_12122025_16_13_44_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/16/13/image_12122025_16_13_35_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/16/13/image_12122025_16_13_25_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/16/12/image_12122025_16_13_05_10638.jpg', 2), ('/home/nano/Desktop/images/12122025/16/12/image_12122025_16_12_54_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/16/12/image_12122025_16_12_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:13:47.033209 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/13/image_12122025_16_13_44_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/16/13/image_12122025_16_13_35_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/16/13/image_12122025_16_13_25_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/16/12/image_12122025_16_13_05_10638.jpg', 2), ('/home/nano/Desktop/images/12122025/16/12/image_12122025_16_12_54_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/16/12/image_12122025_16_12_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:14:17.157397 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/14/image_12122025_16_14_45_10618.jpg', 2), ('/home/nano/Desktop/images/12122025/16/14/image_12122025_16_14_34_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/16/13/image_12122025_16_14_04_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/16/13/image_12122025_16_13_55_10622.jpg', 2), ('/home/nano/Desktop/images/12122025/16/13/image_12122025_16_13_44_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/16/13/image_12122025_16_13_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:14:47.122447 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/14/image_12122025_16_14_45_10618.jpg', 2), ('/home/nano/Desktop/images/12122025/16/14/image_12122025_16_14_34_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/16/13/image_12122025_16_14_04_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/16/13/image_12122025_16_13_55_10622.jpg', 2), ('/home/nano/Desktop/images/12122025/16/13/image_12122025_16_13_44_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/16/13/image_12122025_16_13_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:15:17.243310 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/15/image_12122025_16_15_35_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/16/15/image_12122025_16_15_24_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/16/15/image_12122025_16_15_15_10654.jpg', 2), ('/home/nano/Desktop/images/12122025/16/14/image_12122025_16_15_04_9614.jpg', 2), ('/home/nano/Desktop/images/12122025/16/14/image_12122025_16_14_54_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/16/14/image_12122025_16_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:15:47.221711 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/15/image_12122025_16_15_35_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/16/15/image_12122025_16_15_24_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/16/15/image_12122025_16_15_15_10654.jpg', 2), ('/home/nano/Desktop/images/12122025/16/14/image_12122025_16_15_04_9614.jpg', 2), ('/home/nano/Desktop/images/12122025/16/14/image_12122025_16_14_54_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/16/14/image_12122025_16_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:16:17.371670 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/16/image_12122025_16_16_35_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/16/16/image_12122025_16_16_25_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/16/16/image_12122025_16_16_14_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/16/15/image_12122025_16_16_05_10620.jpg', 2), ('/home/nano/Desktop/images/12122025/16/15/image_12122025_16_15_54_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/16/15/image_12122025_16_15_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:16:47.321146 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/16/image_12122025_16_16_35_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/16/16/image_12122025_16_16_25_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/16/16/image_12122025_16_16_14_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/16/15/image_12122025_16_16_05_10620.jpg', 2), ('/home/nano/Desktop/images/12122025/16/15/image_12122025_16_15_54_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/16/15/image_12122025_16_15_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:17:17.415888 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/17/image_12122025_16_17_45_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/16/17/image_12122025_16_17_25_10604.jpg', 2), ('/home/nano/Desktop/images/12122025/16/17/image_12122025_16_17_14_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/16/16/image_12122025_16_17_05_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/16/16/image_12122025_16_16_55_10607.jpg', 2), ('/home/nano/Desktop/images/12122025/16/16/image_12122025_16_16_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:17:47.411056 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/17/image_12122025_16_17_45_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/16/17/image_12122025_16_17_25_10604.jpg', 2), ('/home/nano/Desktop/images/12122025/16/17/image_12122025_16_17_14_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/16/16/image_12122025_16_17_05_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/16/16/image_12122025_16_16_55_10607.jpg', 2), ('/home/nano/Desktop/images/12122025/16/16/image_12122025_16_16_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:18:17.512915 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/18/image_12122025_16_18_45_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/16/18/image_12122025_16_18_35_10610.jpg', 2), ('/home/nano/Desktop/images/12122025/16/18/image_12122025_16_18_15_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/16/17/image_12122025_16_18_04_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/16/17/image_12122025_16_17_55_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/16/17/image_12122025_16_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:18:47.494499 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/18/image_12122025_16_18_45_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/16/18/image_12122025_16_18_35_10610.jpg', 2), ('/home/nano/Desktop/images/12122025/16/18/image_12122025_16_18_15_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/16/17/image_12122025_16_18_04_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/16/17/image_12122025_16_17_55_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/16/17/image_12122025_16_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:19:17.634574 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/19/image_12122025_16_19_44_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/16/19/image_12122025_16_19_35_10606.jpg', 2), ('/home/nano/Desktop/images/12122025/16/19/image_12122025_16_19_24_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/16/18/image_12122025_16_19_05_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/16/18/image_12122025_16_18_54_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/16/18/image_12122025_16_18_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:19:47.622488 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/19/image_12122025_16_19_44_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/16/19/image_12122025_16_19_35_10606.jpg', 2), ('/home/nano/Desktop/images/12122025/16/19/image_12122025_16_19_24_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/16/18/image_12122025_16_19_05_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/16/18/image_12122025_16_18_54_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/16/18/image_12122025_16_18_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:20:17.728105 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/20/image_12122025_16_20_45_10610.jpg', 2), ('/home/nano/Desktop/images/12122025/16/20/image_12122025_16_20_34_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/16/20/image_12122025_16_20_25_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/16/19/image_12122025_16_20_05_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/16/19/image_12122025_16_19_55_10604.jpg', 2), ('/home/nano/Desktop/images/12122025/16/19/image_12122025_16_19_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:20:47.707007 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/20/image_12122025_16_20_45_10610.jpg', 2), ('/home/nano/Desktop/images/12122025/16/20/image_12122025_16_20_34_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/16/20/image_12122025_16_20_25_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/16/19/image_12122025_16_20_05_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/16/19/image_12122025_16_19_55_10604.jpg', 2), ('/home/nano/Desktop/images/12122025/16/19/image_12122025_16_19_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:21:16.813448 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/21/image_12122025_16_21_35_10606.jpg', 2), ('/home/nano/Desktop/images/12122025/16/21/image_12122025_16_21_24_9594.jpg', 2), ('/home/nano/Desktop/images/12122025/16/21/image_12122025_16_21_15_10623.jpg', 2), ('/home/nano/Desktop/images/12122025/16/20/image_12122025_16_21_04_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/16/20/image_12122025_16_20_55_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/16/20/image_12122025_16_20_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:21:46.824294 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/21/image_12122025_16_21_35_10606.jpg', 2), ('/home/nano/Desktop/images/12122025/16/21/image_12122025_16_21_24_9594.jpg', 2), ('/home/nano/Desktop/images/12122025/16/21/image_12122025_16_21_15_10623.jpg', 2), ('/home/nano/Desktop/images/12122025/16/20/image_12122025_16_21_04_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/16/20/image_12122025_16_20_55_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/16/20/image_12122025_16_20_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:22:16.938647 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/22/image_12122025_16_22_35_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/16/22/image_12122025_16_22_25_10610.jpg', 2), ('/home/nano/Desktop/images/12122025/16/22/image_12122025_16_22_14_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/16/21/image_12122025_16_22_05_10650.jpg', 2), ('/home/nano/Desktop/images/12122025/16/21/image_12122025_16_21_54_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/16/21/image_12122025_16_21_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:22:46.904685 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/22/image_12122025_16_22_35_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/16/22/image_12122025_16_22_25_10610.jpg', 2), ('/home/nano/Desktop/images/12122025/16/22/image_12122025_16_22_14_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/16/21/image_12122025_16_22_05_10650.jpg', 2), ('/home/nano/Desktop/images/12122025/16/21/image_12122025_16_21_54_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/16/21/image_12122025_16_21_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:23:17.034415 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/23/image_12122025_16_23_45_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/16/23/image_12122025_16_23_34_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/16/23/image_12122025_16_23_25_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/16/23/image_12122025_16_23_14_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/16/22/image_12122025_16_23_05_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/16/22/image_12122025_16_22_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:23:47.038398 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/23/image_12122025_16_23_45_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/16/23/image_12122025_16_23_34_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/16/23/image_12122025_16_23_25_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/16/23/image_12122025_16_23_14_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/16/22/image_12122025_16_23_05_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/16/22/image_12122025_16_22_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:24:17.132184 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/24/image_12122025_16_24_45_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/16/24/image_12122025_16_24_35_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/16/24/image_12122025_16_24_24_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/16/24/image_12122025_16_24_15_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/16/23/image_12122025_16_24_04_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/16/23/image_12122025_16_23_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:24:47.167366 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/24/image_12122025_16_24_45_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/16/24/image_12122025_16_24_35_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/16/24/image_12122025_16_24_24_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/16/24/image_12122025_16_24_15_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/16/23/image_12122025_16_24_04_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/16/23/image_12122025_16_23_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:25:17.277455 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/25/image_12122025_16_25_44_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/16/25/image_12122025_16_25_25_10622.jpg', 2), ('/home/nano/Desktop/images/12122025/16/25/image_12122025_16_25_14_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/16/24/image_12122025_16_25_05_10622.jpg', 2), ('/home/nano/Desktop/images/12122025/16/24/image_12122025_16_24_54_9611.jpg', 2), ('/home/nano/Desktop/images/12122025/16/24/image_12122025_16_24_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:25:47.298882 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/25/image_12122025_16_25_44_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/16/25/image_12122025_16_25_25_10622.jpg', 2), ('/home/nano/Desktop/images/12122025/16/25/image_12122025_16_25_14_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/16/24/image_12122025_16_25_05_10622.jpg', 2), ('/home/nano/Desktop/images/12122025/16/24/image_12122025_16_24_54_9611.jpg', 2), ('/home/nano/Desktop/images/12122025/16/24/image_12122025_16_24_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:26:17.365914 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/26/image_12122025_16_26_45_10607.jpg', 2), ('/home/nano/Desktop/images/12122025/16/26/image_12122025_16_26_25_10619.jpg', 2), ('/home/nano/Desktop/images/12122025/16/26/image_12122025_16_26_14_9648.jpg', 2), ('/home/nano/Desktop/images/12122025/16/25/image_12122025_16_26_05_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/16/25/image_12122025_16_25_55_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/16/25/image_12122025_16_25_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:26:47.420988 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/26/image_12122025_16_26_45_10607.jpg', 2), ('/home/nano/Desktop/images/12122025/16/26/image_12122025_16_26_25_10619.jpg', 2), ('/home/nano/Desktop/images/12122025/16/26/image_12122025_16_26_14_9648.jpg', 2), ('/home/nano/Desktop/images/12122025/16/25/image_12122025_16_26_05_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/16/25/image_12122025_16_25_55_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/16/25/image_12122025_16_25_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:27:17.542937 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/27/image_12122025_16_27_45_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/16/27/image_12122025_16_27_35_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/16/27/image_12122025_16_27_15_10627.jpg', 2), ('/home/nano/Desktop/images/12122025/16/26/image_12122025_16_27_04_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/16/26/image_12122025_16_26_55_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/16/26/image_12122025_16_26_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:27:47.566533 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/27/image_12122025_16_27_45_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/16/27/image_12122025_16_27_35_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/16/27/image_12122025_16_27_15_10627.jpg', 2), ('/home/nano/Desktop/images/12122025/16/26/image_12122025_16_27_04_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/16/26/image_12122025_16_26_55_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/16/26/image_12122025_16_26_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:28:17.687900 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/28/image_12122025_16_28_44_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/16/28/image_12122025_16_28_35_10616.jpg', 2), ('/home/nano/Desktop/images/12122025/16/28/image_12122025_16_28_24_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/16/27/image_12122025_16_28_05_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/16/27/image_12122025_16_27_54_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/16/27/image_12122025_16_27_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:28:47.693180 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/28/image_12122025_16_28_44_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/16/28/image_12122025_16_28_35_10616.jpg', 2), ('/home/nano/Desktop/images/12122025/16/28/image_12122025_16_28_24_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/16/27/image_12122025_16_28_05_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/16/27/image_12122025_16_27_54_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/16/27/image_12122025_16_27_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:29:16.855672 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/29/image_12122025_16_29_34_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/16/29/image_12122025_16_29_25_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/16/28/image_12122025_16_28_55_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/16/28/image_12122025_16_28_44_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/16/28/image_12122025_16_28_35_10616.jpg', 2), ('/home/nano/Desktop/images/12122025/16/28/image_12122025_16_28_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:29:46.784118 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/29/image_12122025_16_29_34_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/16/29/image_12122025_16_29_25_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/16/28/image_12122025_16_28_55_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/16/28/image_12122025_16_28_44_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/16/28/image_12122025_16_28_35_10616.jpg', 2), ('/home/nano/Desktop/images/12122025/16/28/image_12122025_16_28_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:30:16.899833 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/30/image_12122025_16_30_45_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/16/30/image_12122025_16_30_35_10602.jpg', 2), ('/home/nano/Desktop/images/12122025/16/30/image_12122025_16_30_24_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/16/30/image_12122025_16_30_15_10626.jpg', 2), ('/home/nano/Desktop/images/12122025/16/29/image_12122025_16_30_04_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/16/29/image_12122025_16_29_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:30:46.879437 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/30/image_12122025_16_30_45_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/16/30/image_12122025_16_30_35_10602.jpg', 2), ('/home/nano/Desktop/images/12122025/16/30/image_12122025_16_30_24_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/16/30/image_12122025_16_30_15_10626.jpg', 2), ('/home/nano/Desktop/images/12122025/16/29/image_12122025_16_30_04_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/16/29/image_12122025_16_29_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:31:16.984064 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/31/image_12122025_16_31_44_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/16/31/image_12122025_16_31_35_10604.jpg', 2), ('/home/nano/Desktop/images/12122025/16/31/image_12122025_16_31_24_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/16/31/image_12122025_16_31_14_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/16/30/image_12122025_16_31_05_10644.jpg', 2), ('/home/nano/Desktop/images/12122025/16/30/image_12122025_16_30_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:31:47.079543 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/31/image_12122025_16_31_44_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/16/31/image_12122025_16_31_35_10604.jpg', 2), ('/home/nano/Desktop/images/12122025/16/31/image_12122025_16_31_24_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/16/31/image_12122025_16_31_14_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/16/30/image_12122025_16_31_05_10644.jpg', 2), ('/home/nano/Desktop/images/12122025/16/30/image_12122025_16_30_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:32:17.181265 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/32/image_12122025_16_32_44_9724.jpg', 2), ('/home/nano/Desktop/images/12122025/16/32/image_12122025_16_32_35_9725.jpg', 2), ('/home/nano/Desktop/images/12122025/16/32/image_12122025_16_32_25_10610.jpg', 2), ('/home/nano/Desktop/images/12122025/16/32/image_12122025_16_32_14_9614.jpg', 2), ('/home/nano/Desktop/images/12122025/16/31/image_12122025_16_32_05_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/16/31/image_12122025_16_31_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:32:47.146185 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/32/image_12122025_16_32_44_9724.jpg', 2), ('/home/nano/Desktop/images/12122025/16/32/image_12122025_16_32_35_9725.jpg', 2), ('/home/nano/Desktop/images/12122025/16/32/image_12122025_16_32_25_10610.jpg', 2), ('/home/nano/Desktop/images/12122025/16/32/image_12122025_16_32_14_9614.jpg', 2), ('/home/nano/Desktop/images/12122025/16/31/image_12122025_16_32_05_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/16/31/image_12122025_16_31_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:33:17.240642 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/33/image_12122025_16_33_44_9693.jpg', 2), ('/home/nano/Desktop/images/12122025/16/33/image_12122025_16_33_35_9683.jpg', 2), ('/home/nano/Desktop/images/12122025/16/33/image_12122025_16_33_25_10713.jpg', 2), ('/home/nano/Desktop/images/12122025/16/33/image_12122025_16_33_14_9696.jpg', 2), ('/home/nano/Desktop/images/12122025/16/32/image_12122025_16_33_05_9691.jpg', 2), ('/home/nano/Desktop/images/12122025/16/32/image_12122025_16_32_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:33:47.281079 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/33/image_12122025_16_33_44_9693.jpg', 2), ('/home/nano/Desktop/images/12122025/16/33/image_12122025_16_33_35_9683.jpg', 2), ('/home/nano/Desktop/images/12122025/16/33/image_12122025_16_33_25_10713.jpg', 2), ('/home/nano/Desktop/images/12122025/16/33/image_12122025_16_33_14_9696.jpg', 2), ('/home/nano/Desktop/images/12122025/16/32/image_12122025_16_33_05_9691.jpg', 2), ('/home/nano/Desktop/images/12122025/16/32/image_12122025_16_32_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:34:17.365654 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/34/image_12122025_16_34_45_9731.jpg', 2), ('/home/nano/Desktop/images/12122025/16/34/image_12122025_16_34_35_10725.jpg', 2), ('/home/nano/Desktop/images/12122025/16/34/image_12122025_16_34_24_9685.jpg', 2), ('/home/nano/Desktop/images/12122025/16/34/image_12122025_16_34_14_9700.jpg', 2), ('/home/nano/Desktop/images/12122025/16/33/image_12122025_16_34_05_9703.jpg', 2), ('/home/nano/Desktop/images/12122025/16/33/image_12122025_16_33_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:34:47.351072 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/34/image_12122025_16_34_45_9731.jpg', 2), ('/home/nano/Desktop/images/12122025/16/34/image_12122025_16_34_35_10725.jpg', 2), ('/home/nano/Desktop/images/12122025/16/34/image_12122025_16_34_24_9685.jpg', 2), ('/home/nano/Desktop/images/12122025/16/34/image_12122025_16_34_14_9700.jpg', 2), ('/home/nano/Desktop/images/12122025/16/33/image_12122025_16_34_05_9703.jpg', 2), ('/home/nano/Desktop/images/12122025/16/33/image_12122025_16_33_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:35:17.473152 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/35/image_12122025_16_35_45_10683.jpg', 2), ('/home/nano/Desktop/images/12122025/16/35/image_12122025_16_35_34_9718.jpg', 2), ('/home/nano/Desktop/images/12122025/16/35/image_12122025_16_35_24_9705.jpg', 2), ('/home/nano/Desktop/images/12122025/16/35/image_12122025_16_35_15_9736.jpg', 2), ('/home/nano/Desktop/images/12122025/16/34/image_12122025_16_35_05_10689.jpg', 2), ('/home/nano/Desktop/images/12122025/16/34/image_12122025_16_34_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:35:47.542676 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/35/image_12122025_16_35_45_10683.jpg', 2), ('/home/nano/Desktop/images/12122025/16/35/image_12122025_16_35_34_9718.jpg', 2), ('/home/nano/Desktop/images/12122025/16/35/image_12122025_16_35_24_9705.jpg', 2), ('/home/nano/Desktop/images/12122025/16/35/image_12122025_16_35_15_9736.jpg', 2), ('/home/nano/Desktop/images/12122025/16/34/image_12122025_16_35_05_10689.jpg', 2), ('/home/nano/Desktop/images/12122025/16/34/image_12122025_16_34_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:36:17.663505 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/36/image_12122025_16_36_45_10717.jpg', 2), ('/home/nano/Desktop/images/12122025/16/36/image_12122025_16_36_34_9726.jpg', 2), ('/home/nano/Desktop/images/12122025/16/36/image_12122025_16_36_25_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/16/36/image_12122025_16_36_15_10734.jpg', 2), ('/home/nano/Desktop/images/12122025/16/35/image_12122025_16_36_04_9701.jpg', 2), ('/home/nano/Desktop/images/12122025/16/35/image_12122025_16_35_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:36:47.636902 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/36/image_12122025_16_36_45_10717.jpg', 2), ('/home/nano/Desktop/images/12122025/16/36/image_12122025_16_36_34_9726.jpg', 2), ('/home/nano/Desktop/images/12122025/16/36/image_12122025_16_36_25_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/16/36/image_12122025_16_36_15_10734.jpg', 2), ('/home/nano/Desktop/images/12122025/16/35/image_12122025_16_36_04_9701.jpg', 2), ('/home/nano/Desktop/images/12122025/16/35/image_12122025_16_35_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:37:17.747773 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/37/image_12122025_16_37_45_10706.jpg', 2), ('/home/nano/Desktop/images/12122025/16/37/image_12122025_16_37_34_9682.jpg', 2), ('/home/nano/Desktop/images/12122025/16/37/image_12122025_16_37_25_9666.jpg', 2), ('/home/nano/Desktop/images/12122025/16/37/image_12122025_16_37_15_10720.jpg', 2), ('/home/nano/Desktop/images/12122025/16/36/image_12122025_16_37_04_9641.jpg', 2), ('/home/nano/Desktop/images/12122025/16/36/image_12122025_16_36_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:37:47.749657 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/37/image_12122025_16_37_45_10706.jpg', 2), ('/home/nano/Desktop/images/12122025/16/37/image_12122025_16_37_34_9682.jpg', 2), ('/home/nano/Desktop/images/12122025/16/37/image_12122025_16_37_25_9666.jpg', 2), ('/home/nano/Desktop/images/12122025/16/37/image_12122025_16_37_15_10720.jpg', 2), ('/home/nano/Desktop/images/12122025/16/36/image_12122025_16_37_04_9641.jpg', 2), ('/home/nano/Desktop/images/12122025/16/36/image_12122025_16_36_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:38:16.849585 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/38/image_12122025_16_38_45_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/16/38/image_12122025_16_38_15_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/16/37/image_12122025_16_38_04_9632.jpg', 2), ('/home/nano/Desktop/images/12122025/16/37/image_12122025_16_37_55_9707.jpg', 2), ('/home/nano/Desktop/images/12122025/16/37/image_12122025_16_37_45_10706.jpg', 2), ('/home/nano/Desktop/images/12122025/16/37/image_12122025_16_37_34_9682.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:38:46.891832 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/38/image_12122025_16_38_45_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/16/38/image_12122025_16_38_15_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/16/37/image_12122025_16_38_04_9632.jpg', 2), ('/home/nano/Desktop/images/12122025/16/37/image_12122025_16_37_55_9707.jpg', 2), ('/home/nano/Desktop/images/12122025/16/37/image_12122025_16_37_45_10706.jpg', 2), ('/home/nano/Desktop/images/12122025/16/37/image_12122025_16_37_34_9682.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:39:17.035059 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/39/image_12122025_16_39_45_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/16/39/image_12122025_16_39_35_10627.jpg', 2), ('/home/nano/Desktop/images/12122025/16/39/image_12122025_16_39_24_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/16/39/image_12122025_16_39_15_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/16/38/image_12122025_16_39_05_10623.jpg', 2), ('/home/nano/Desktop/images/12122025/16/38/image_12122025_16_38_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:39:46.958816 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/39/image_12122025_16_39_45_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/16/39/image_12122025_16_39_35_10627.jpg', 2), ('/home/nano/Desktop/images/12122025/16/39/image_12122025_16_39_24_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/16/39/image_12122025_16_39_15_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/16/38/image_12122025_16_39_05_10623.jpg', 2), ('/home/nano/Desktop/images/12122025/16/38/image_12122025_16_38_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:40:17.061508 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/40/image_12122025_16_40_44_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/16/40/image_12122025_16_40_35_9656.jpg', 2), ('/home/nano/Desktop/images/12122025/16/40/image_12122025_16_40_25_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/16/40/image_12122025_16_40_14_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/16/39/image_12122025_16_40_05_10618.jpg', 2), ('/home/nano/Desktop/images/12122025/16/39/image_12122025_16_39_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:40:47.075612 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/40/image_12122025_16_40_44_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/16/40/image_12122025_16_40_35_9656.jpg', 2), ('/home/nano/Desktop/images/12122025/16/40/image_12122025_16_40_25_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/16/40/image_12122025_16_40_14_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/16/39/image_12122025_16_40_05_10618.jpg', 2), ('/home/nano/Desktop/images/12122025/16/39/image_12122025_16_39_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:41:17.192038 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/41/image_12122025_16_41_45_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/16/41/image_12122025_16_41_34_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/16/41/image_12122025_16_41_25_10610.jpg', 2), ('/home/nano/Desktop/images/12122025/16/41/image_12122025_16_41_14_9611.jpg', 2), ('/home/nano/Desktop/images/12122025/16/40/image_12122025_16_40_55_10606.jpg', 2), ('/home/nano/Desktop/images/12122025/16/40/image_12122025_16_40_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:41:47.178005 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/41/image_12122025_16_41_45_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/16/41/image_12122025_16_41_34_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/16/41/image_12122025_16_41_25_10610.jpg', 2), ('/home/nano/Desktop/images/12122025/16/41/image_12122025_16_41_14_9611.jpg', 2), ('/home/nano/Desktop/images/12122025/16/40/image_12122025_16_40_55_10606.jpg', 2), ('/home/nano/Desktop/images/12122025/16/40/image_12122025_16_40_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:42:17.283453 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/42/image_12122025_16_42_45_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/16/42/image_12122025_16_42_35_10610.jpg', 2), ('/home/nano/Desktop/images/12122025/16/42/image_12122025_16_42_24_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/16/42/image_12122025_16_42_15_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/16/41/image_12122025_16_42_04_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/16/41/image_12122025_16_41_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:42:47.272046 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/42/image_12122025_16_42_45_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/16/42/image_12122025_16_42_35_10610.jpg', 2), ('/home/nano/Desktop/images/12122025/16/42/image_12122025_16_42_24_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/16/42/image_12122025_16_42_15_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/16/41/image_12122025_16_42_04_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/16/41/image_12122025_16_41_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:43:17.411330 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/43/image_12122025_16_43_44_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/16/43/image_12122025_16_43_35_10604.jpg', 2), ('/home/nano/Desktop/images/12122025/16/43/image_12122025_16_43_24_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/16/43/image_12122025_16_43_15_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/16/42/image_12122025_16_43_05_10621.jpg', 2), ('/home/nano/Desktop/images/12122025/16/42/image_12122025_16_42_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:43:47.375967 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/43/image_12122025_16_43_44_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/16/43/image_12122025_16_43_35_10604.jpg', 2), ('/home/nano/Desktop/images/12122025/16/43/image_12122025_16_43_24_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/16/43/image_12122025_16_43_15_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/16/42/image_12122025_16_43_05_10621.jpg', 2), ('/home/nano/Desktop/images/12122025/16/42/image_12122025_16_42_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:44:17.438773 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/44/image_12122025_16_44_45_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/16/44/image_12122025_16_44_34_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/16/44/image_12122025_16_44_25_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/16/44/image_12122025_16_44_14_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/16/43/image_12122025_16_44_05_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/16/43/image_12122025_16_43_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:44:47.457093 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/44/image_12122025_16_44_45_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/16/44/image_12122025_16_44_34_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/16/44/image_12122025_16_44_25_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/16/44/image_12122025_16_44_14_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/16/43/image_12122025_16_44_05_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/16/43/image_12122025_16_43_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:45:17.603283 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/45/image_12122025_16_45_35_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/16/45/image_12122025_16_45_24_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/16/45/image_12122025_16_45_15_10619.jpg', 2), ('/home/nano/Desktop/images/12122025/16/44/image_12122025_16_45_04_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/16/44/image_12122025_16_44_55_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/16/44/image_12122025_16_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:45:47.546640 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/45/image_12122025_16_45_35_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/16/45/image_12122025_16_45_24_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/16/45/image_12122025_16_45_15_10619.jpg', 2), ('/home/nano/Desktop/images/12122025/16/44/image_12122025_16_45_04_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/16/44/image_12122025_16_44_55_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/16/44/image_12122025_16_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:46:17.670744 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/45/image_12122025_16_46_05_10637.jpg', 2), ('/home/nano/Desktop/images/12122025/16/45/image_12122025_16_45_45_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/16/45/image_12122025_16_45_35_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/16/45/image_12122025_16_45_24_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/16/45/image_12122025_16_45_15_10619.jpg', 2), ('/home/nano/Desktop/images/12122025/16/44/image_12122025_16_45_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:46:47.687297 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/45/image_12122025_16_46_05_10637.jpg', 2), ('/home/nano/Desktop/images/12122025/16/45/image_12122025_16_45_45_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/16/45/image_12122025_16_45_35_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/16/45/image_12122025_16_45_24_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/16/45/image_12122025_16_45_15_10619.jpg', 2), ('/home/nano/Desktop/images/12122025/16/44/image_12122025_16_45_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:47:16.778117 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/47/image_12122025_16_47_34_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/16/47/image_12122025_16_47_25_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/16/47/image_12122025_16_47_14_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/16/46/image_12122025_16_47_05_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/16/46/image_12122025_16_46_14_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/16/45/image_12122025_16_46_05_10637.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:47:46.763347 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/47/image_12122025_16_47_34_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/16/47/image_12122025_16_47_25_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/16/47/image_12122025_16_47_14_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/16/46/image_12122025_16_47_05_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/16/46/image_12122025_16_46_14_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/16/45/image_12122025_16_46_05_10637.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:48:16.904884 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/48/image_12122025_16_48_45_10610.jpg', 2), ('/home/nano/Desktop/images/12122025/16/48/image_12122025_16_48_34_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/16/48/image_12122025_16_48_15_10625.jpg', 2), ('/home/nano/Desktop/images/12122025/16/47/image_12122025_16_48_04_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/16/47/image_12122025_16_47_55_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/16/47/image_12122025_16_47_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:48:46.883773 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/48/image_12122025_16_48_45_10610.jpg', 2), ('/home/nano/Desktop/images/12122025/16/48/image_12122025_16_48_34_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/16/48/image_12122025_16_48_15_10625.jpg', 2), ('/home/nano/Desktop/images/12122025/16/47/image_12122025_16_48_04_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/16/47/image_12122025_16_47_55_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/16/47/image_12122025_16_47_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:49:16.977146 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/49/image_12122025_16_49_44_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/16/49/image_12122025_16_49_35_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/16/49/image_12122025_16_49_24_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/16/49/image_12122025_16_49_15_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/16/48/image_12122025_16_49_05_10624.jpg', 2), ('/home/nano/Desktop/images/12122025/16/48/image_12122025_16_48_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:49:46.995066 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/49/image_12122025_16_49_44_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/16/49/image_12122025_16_49_35_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/16/49/image_12122025_16_49_24_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/16/49/image_12122025_16_49_15_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/16/48/image_12122025_16_49_05_10624.jpg', 2), ('/home/nano/Desktop/images/12122025/16/48/image_12122025_16_48_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:50:17.127926 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/50/image_12122025_16_50_45_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/16/50/image_12122025_16_50_34_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/16/50/image_12122025_16_50_25_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/16/50/image_12122025_16_50_14_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/16/49/image_12122025_16_50_05_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/16/49/image_12122025_16_49_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:50:47.103146 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/50/image_12122025_16_50_45_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/16/50/image_12122025_16_50_34_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/16/50/image_12122025_16_50_25_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/16/50/image_12122025_16_50_14_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/16/49/image_12122025_16_50_05_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/16/49/image_12122025_16_49_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:51:17.174505 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/51/image_12122025_16_51_45_10606.jpg', 2), ('/home/nano/Desktop/images/12122025/16/51/image_12122025_16_51_34_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/16/51/image_12122025_16_51_24_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/16/51/image_12122025_16_51_15_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/16/50/image_12122025_16_51_04_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/16/50/image_12122025_16_50_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:51:47.180693 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/51/image_12122025_16_51_45_10606.jpg', 2), ('/home/nano/Desktop/images/12122025/16/51/image_12122025_16_51_34_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/16/51/image_12122025_16_51_24_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/16/51/image_12122025_16_51_15_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/16/50/image_12122025_16_51_04_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/16/50/image_12122025_16_50_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:52:17.334442 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/52/image_12122025_16_52_35_10622.jpg', 2), ('/home/nano/Desktop/images/12122025/16/52/image_12122025_16_52_24_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/16/52/image_12122025_16_52_15_9614.jpg', 2), ('/home/nano/Desktop/images/12122025/16/51/image_12122025_16_52_05_10625.jpg', 2), ('/home/nano/Desktop/images/12122025/16/51/image_12122025_16_51_54_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/16/51/image_12122025_16_51_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:52:47.286371 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/52/image_12122025_16_52_35_10622.jpg', 2), ('/home/nano/Desktop/images/12122025/16/52/image_12122025_16_52_24_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/16/52/image_12122025_16_52_15_9614.jpg', 2), ('/home/nano/Desktop/images/12122025/16/51/image_12122025_16_52_05_10625.jpg', 2), ('/home/nano/Desktop/images/12122025/16/51/image_12122025_16_51_54_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/16/51/image_12122025_16_51_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:53:17.368703 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/53/image_12122025_16_53_45_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/16/53/image_12122025_16_53_34_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/16/53/image_12122025_16_53_25_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/16/53/image_12122025_16_53_14_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/16/52/image_12122025_16_53_05_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/16/52/image_12122025_16_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:53:47.369844 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/53/image_12122025_16_53_45_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/16/53/image_12122025_16_53_34_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/16/53/image_12122025_16_53_25_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/16/53/image_12122025_16_53_14_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/16/52/image_12122025_16_53_05_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/16/52/image_12122025_16_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:54:17.461476 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/53/image_12122025_16_54_04_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/16/53/image_12122025_16_53_55_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/16/53/image_12122025_16_53_45_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/16/53/image_12122025_16_53_34_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/16/53/image_12122025_16_53_25_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/16/53/image_12122025_16_53_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:54:47.466519 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/53/image_12122025_16_54_04_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/16/53/image_12122025_16_53_55_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/16/53/image_12122025_16_53_45_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/16/53/image_12122025_16_53_34_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/16/53/image_12122025_16_53_25_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/16/53/image_12122025_16_53_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:55:17.561204 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/55/image_12122025_16_55_35_10621.jpg', 2), ('/home/nano/Desktop/images/12122025/16/55/image_12122025_16_55_24_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/16/55/image_12122025_16_55_15_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/16/54/image_12122025_16_55_05_10643.jpg', 2), ('/home/nano/Desktop/images/12122025/16/54/image_12122025_16_54_54_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/16/53/image_12122025_16_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:55:47.641149 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/55/image_12122025_16_55_35_10621.jpg', 2), ('/home/nano/Desktop/images/12122025/16/55/image_12122025_16_55_24_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/16/55/image_12122025_16_55_15_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/16/54/image_12122025_16_55_05_10643.jpg', 2), ('/home/nano/Desktop/images/12122025/16/54/image_12122025_16_54_54_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/16/53/image_12122025_16_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:56:17.730294 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/56/image_12122025_16_56_34_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/16/56/image_12122025_16_56_25_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/16/56/image_12122025_16_56_14_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/16/55/image_12122025_16_56_05_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/16/55/image_12122025_16_55_55_10606.jpg', 2), ('/home/nano/Desktop/images/12122025/16/55/image_12122025_16_55_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:56:47.711218 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/56/image_12122025_16_56_34_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/16/56/image_12122025_16_56_25_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/16/56/image_12122025_16_56_14_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/16/55/image_12122025_16_56_05_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/16/55/image_12122025_16_55_55_10606.jpg', 2), ('/home/nano/Desktop/images/12122025/16/55/image_12122025_16_55_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:57:16.928163 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/57/image_12122025_16_57_45_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/16/57/image_12122025_16_57_35_10604.jpg', 2), ('/home/nano/Desktop/images/12122025/16/57/image_12122025_16_57_24_9595.jpg', 2), ('/home/nano/Desktop/images/12122025/16/57/image_12122025_16_57_15_10619.jpg', 2), ('/home/nano/Desktop/images/12122025/16/56/image_12122025_16_57_04_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/16/56/image_12122025_16_56_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:57:46.821029 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 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-12 16:59:03.080383 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/58/image_12122025_16_58_44_9593.jpg', 2), ('/home/nano/Desktop/images/12122025/16/58/image_12122025_16_58_35_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/16/57/image_12122025_16_58_05_10637.jpg', 2), ('/home/nano/Desktop/images/12122025/16/57/image_12122025_16_57_54_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/16/57/image_12122025_16_57_45_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/16/57/image_12122025_16_57_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 16:59:31.989485 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/59/image_12122025_16_59_45_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/16/59/image_12122025_16_59_34_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/16/59/image_12122025_16_59_25_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/16/59/image_12122025_16_59_14_9611.jpg', 2), ('/home/nano/Desktop/images/12122025/16/58/image_12122025_16_59_05_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/16/58/image_12122025_16_58_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:00:02.715587 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/16/59/image_12122025_16_59_45_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/16/59/image_12122025_16_59_34_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/16/59/image_12122025_16_59_25_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/16/59/image_12122025_16_59_14_9611.jpg', 2), ('/home/nano/Desktop/images/12122025/16/58/image_12122025_16_59_05_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/16/58/image_12122025_16_58_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:00:32.122892 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/00/image_12122025_17_00_45_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/17/00/image_12122025_17_00_35_10602.jpg', 2), ('/home/nano/Desktop/images/12122025/17/00/image_12122025_17_00_24_9591.jpg', 2), ('/home/nano/Desktop/images/12122025/17/00/image_12122025_17_00_15_10627.jpg', 2), ('/home/nano/Desktop/images/12122025/16/59/image_12122025_17_00_04_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/16/59/image_12122025_16_59_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:01:02.940863 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/00/image_12122025_17_01_05_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/17/00/image_12122025_17_00_45_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/17/00/image_12122025_17_00_35_10602.jpg', 2), ('/home/nano/Desktop/images/12122025/17/00/image_12122025_17_00_24_9591.jpg', 2), ('/home/nano/Desktop/images/12122025/17/00/image_12122025_17_00_15_10627.jpg', 2), ('/home/nano/Desktop/images/12122025/16/59/image_12122025_17_00_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:01:32.234704 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/01/image_12122025_17_01_14_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/17/00/image_12122025_17_01_05_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/17/00/image_12122025_17_00_54_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/17/00/image_12122025_17_00_45_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/17/00/image_12122025_17_00_35_10602.jpg', 2), ('/home/nano/Desktop/images/12122025/17/00/image_12122025_17_00_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:02:02.800871 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/01/image_12122025_17_01_14_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/17/00/image_12122025_17_01_05_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/17/00/image_12122025_17_00_54_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/17/00/image_12122025_17_00_45_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/17/00/image_12122025_17_00_35_10602.jpg', 2), ('/home/nano/Desktop/images/12122025/17/00/image_12122025_17_00_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:02:32.376688 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/02/image_12122025_17_02_45_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/17/02/image_12122025_17_02_34_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/17/02/image_12122025_17_02_25_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/17/01/image_12122025_17_02_05_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/17/01/image_12122025_17_01_55_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/17/01/image_12122025_17_01_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:03:03.115470 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/02/image_12122025_17_02_45_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/17/02/image_12122025_17_02_34_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/17/02/image_12122025_17_02_25_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/17/01/image_12122025_17_02_05_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/17/01/image_12122025_17_01_55_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/17/01/image_12122025_17_01_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:03:32.395478 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/03/image_12122025_17_03_34_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/17/03/image_12122025_17_03_24_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/17/03/image_12122025_17_03_15_10657.jpg', 2), ('/home/nano/Desktop/images/12122025/17/02/image_12122025_17_03_04_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/17/02/image_12122025_17_02_55_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/17/02/image_12122025_17_02_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:04:03.428124 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/03/image_12122025_17_03_34_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/17/03/image_12122025_17_03_24_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/17/03/image_12122025_17_03_15_10657.jpg', 2), ('/home/nano/Desktop/images/12122025/17/02/image_12122025_17_03_04_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/17/02/image_12122025_17_02_55_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/17/02/image_12122025_17_02_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:04:32.517349 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/04/image_12122025_17_04_35_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/17/04/image_12122025_17_04_24_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/17/04/image_12122025_17_04_15_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/17/03/image_12122025_17_04_05_10620.jpg', 2), ('/home/nano/Desktop/images/12122025/17/03/image_12122025_17_03_45_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/17/03/image_12122025_17_03_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:05:03.145443 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/04/image_12122025_17_04_35_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/17/04/image_12122025_17_04_24_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/17/04/image_12122025_17_04_15_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/17/03/image_12122025_17_04_05_10620.jpg', 2), ('/home/nano/Desktop/images/12122025/17/03/image_12122025_17_03_45_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/17/03/image_12122025_17_03_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:05:32.620568 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/05/image_12122025_17_05_45_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/17/05/image_12122025_17_05_25_10605.jpg', 2), ('/home/nano/Desktop/images/12122025/17/05/image_12122025_17_05_14_9616.jpg', 2), ('/home/nano/Desktop/images/12122025/17/04/image_12122025_17_05_05_9632.jpg', 2), ('/home/nano/Desktop/images/12122025/17/04/image_12122025_17_04_55_10602.jpg', 2), ('/home/nano/Desktop/images/12122025/17/04/image_12122025_17_04_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:06:03.206617 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/05/image_12122025_17_05_45_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/17/05/image_12122025_17_05_25_10605.jpg', 2), ('/home/nano/Desktop/images/12122025/17/05/image_12122025_17_05_14_9616.jpg', 2), ('/home/nano/Desktop/images/12122025/17/04/image_12122025_17_05_05_9632.jpg', 2), ('/home/nano/Desktop/images/12122025/17/04/image_12122025_17_04_55_10602.jpg', 2), ('/home/nano/Desktop/images/12122025/17/04/image_12122025_17_04_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:06:32.748703 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/06/image_12122025_17_06_45_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/17/06/image_12122025_17_06_35_10602.jpg', 2), ('/home/nano/Desktop/images/12122025/17/06/image_12122025_17_06_24_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/17/06/image_12122025_17_06_15_10627.jpg', 2), ('/home/nano/Desktop/images/12122025/17/05/image_12122025_17_06_04_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/17/05/image_12122025_17_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:07:02.622614 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/06/image_12122025_17_06_45_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/17/06/image_12122025_17_06_35_10602.jpg', 2), ('/home/nano/Desktop/images/12122025/17/06/image_12122025_17_06_24_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/17/06/image_12122025_17_06_15_10627.jpg', 2), ('/home/nano/Desktop/images/12122025/17/05/image_12122025_17_06_04_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/17/05/image_12122025_17_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:07:31.850757 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/07/image_12122025_17_07_44_9595.jpg', 2), ('/home/nano/Desktop/images/12122025/17/07/image_12122025_17_07_35_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/17/06/image_12122025_17_07_05_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/17/06/image_12122025_17_06_54_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/17/06/image_12122025_17_06_45_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/17/06/image_12122025_17_06_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:08:02.492685 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/07/image_12122025_17_07_44_9595.jpg', 2), ('/home/nano/Desktop/images/12122025/17/07/image_12122025_17_07_35_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/17/06/image_12122025_17_07_05_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/17/06/image_12122025_17_06_54_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/17/06/image_12122025_17_06_45_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/17/06/image_12122025_17_06_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:08:31.944640 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/08/image_12122025_17_08_34_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/17/08/image_12122025_17_08_25_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/17/07/image_12122025_17_07_55_10605.jpg', 2), ('/home/nano/Desktop/images/12122025/17/07/image_12122025_17_07_44_9595.jpg', 2), ('/home/nano/Desktop/images/12122025/17/07/image_12122025_17_07_35_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/17/06/image_12122025_17_07_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:09:03.083189 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/08/image_12122025_17_08_34_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/17/08/image_12122025_17_08_25_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/17/07/image_12122025_17_07_55_10605.jpg', 2), ('/home/nano/Desktop/images/12122025/17/07/image_12122025_17_07_44_9595.jpg', 2), ('/home/nano/Desktop/images/12122025/17/07/image_12122025_17_07_35_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/17/06/image_12122025_17_07_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:09:32.061716 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/09/image_12122025_17_09_45_10647.jpg', 2), ('/home/nano/Desktop/images/12122025/17/09/image_12122025_17_09_34_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/17/09/image_12122025_17_09_24_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/17/09/image_12122025_17_09_15_10649.jpg', 2), ('/home/nano/Desktop/images/12122025/17/08/image_12122025_17_08_45_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/17/08/image_12122025_17_08_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:10:02.725419 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/10/image_12122025_17_10_15_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/17/09/image_12122025_17_09_45_10647.jpg', 2), ('/home/nano/Desktop/images/12122025/17/09/image_12122025_17_09_34_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/17/09/image_12122025_17_09_24_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/17/09/image_12122025_17_09_15_10649.jpg', 2), ('/home/nano/Desktop/images/12122025/17/08/image_12122025_17_08_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:10:32.237628 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/10/image_12122025_17_10_44_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/17/10/image_12122025_17_10_35_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/17/10/image_12122025_17_10_24_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/17/10/image_12122025_17_10_15_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/17/09/image_12122025_17_10_05_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/17/09/image_12122025_17_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:11:03.094301 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/10/image_12122025_17_10_44_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/17/10/image_12122025_17_10_35_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/17/10/image_12122025_17_10_24_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/17/10/image_12122025_17_10_15_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/17/09/image_12122025_17_10_05_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/17/09/image_12122025_17_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:11:32.347080 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/11/image_12122025_17_11_44_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/17/10/image_12122025_17_11_05_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/17/10/image_12122025_17_10_55_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/17/10/image_12122025_17_10_44_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/17/10/image_12122025_17_10_35_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/17/10/image_12122025_17_10_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:12:02.858268 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/11/image_12122025_17_11_44_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/17/10/image_12122025_17_11_05_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/17/10/image_12122025_17_10_55_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/17/10/image_12122025_17_10_44_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/17/10/image_12122025_17_10_35_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/17/10/image_12122025_17_10_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:12:32.382940 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/12/image_12122025_17_12_34_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/17/12/image_12122025_17_12_25_9636.jpg', 2), ('/home/nano/Desktop/images/12122025/17/12/image_12122025_17_12_15_10625.jpg', 2), ('/home/nano/Desktop/images/12122025/17/11/image_12122025_17_11_55_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/17/11/image_12122025_17_11_44_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/17/10/image_12122025_17_11_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:13:03.179727 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/12/image_12122025_17_12_34_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/17/12/image_12122025_17_12_25_9636.jpg', 2), ('/home/nano/Desktop/images/12122025/17/12/image_12122025_17_12_15_10625.jpg', 2), ('/home/nano/Desktop/images/12122025/17/11/image_12122025_17_11_55_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/17/11/image_12122025_17_11_44_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/17/10/image_12122025_17_11_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:13:32.494646 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/13/image_12122025_17_13_35_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/17/13/image_12122025_17_13_24_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/17/13/image_12122025_17_13_15_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/17/12/image_12122025_17_13_05_10622.jpg', 2), ('/home/nano/Desktop/images/12122025/17/12/image_12122025_17_12_45_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/17/12/image_12122025_17_12_34_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:14:03.527693 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/13/image_12122025_17_13_35_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/17/13/image_12122025_17_13_24_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/17/13/image_12122025_17_13_15_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/17/12/image_12122025_17_13_05_10622.jpg', 2), ('/home/nano/Desktop/images/12122025/17/12/image_12122025_17_12_45_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/17/12/image_12122025_17_12_34_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:14:32.595513 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/14/image_12122025_17_14_35_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/17/14/image_12122025_17_14_25_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/17/14/image_12122025_17_14_14_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/17/13/image_12122025_17_14_05_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/17/13/image_12122025_17_13_44_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/17/13/image_12122025_17_13_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:15:03.540970 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/14/image_12122025_17_14_35_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/17/14/image_12122025_17_14_25_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/17/14/image_12122025_17_14_14_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/17/13/image_12122025_17_14_05_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/17/13/image_12122025_17_13_44_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/17/13/image_12122025_17_13_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:15:32.698884 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/15/image_12122025_17_15_45_10610.jpg', 2), ('/home/nano/Desktop/images/12122025/17/15/image_12122025_17_15_15_10624.jpg', 2), ('/home/nano/Desktop/images/12122025/17/14/image_12122025_17_15_04_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/17/14/image_12122025_17_14_55_10610.jpg', 2), ('/home/nano/Desktop/images/12122025/17/14/image_12122025_17_14_35_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/17/14/image_12122025_17_14_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:16:02.457549 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/15/image_12122025_17_15_45_10610.jpg', 2), ('/home/nano/Desktop/images/12122025/17/15/image_12122025_17_15_15_10624.jpg', 2), ('/home/nano/Desktop/images/12122025/17/14/image_12122025_17_15_04_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/17/14/image_12122025_17_14_55_10610.jpg', 2), ('/home/nano/Desktop/images/12122025/17/14/image_12122025_17_14_35_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/17/14/image_12122025_17_14_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:16:31.943407 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/16/image_12122025_17_16_44_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/17/16/image_12122025_17_16_35_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/17/16/image_12122025_17_16_24_9614.jpg', 2), ('/home/nano/Desktop/images/12122025/17/16/image_12122025_17_16_15_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/17/15/image_12122025_17_16_05_10607.jpg', 2), ('/home/nano/Desktop/images/12122025/17/15/image_12122025_17_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:17:02.522068 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/16/image_12122025_17_16_44_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/17/16/image_12122025_17_16_35_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/17/16/image_12122025_17_16_24_9614.jpg', 2), ('/home/nano/Desktop/images/12122025/17/16/image_12122025_17_16_15_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/17/15/image_12122025_17_16_05_10607.jpg', 2), ('/home/nano/Desktop/images/12122025/17/15/image_12122025_17_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:17:31.933343 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/17/image_12122025_17_17_44_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/17/17/image_12122025_17_17_34_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/17/17/image_12122025_17_17_25_10624.jpg', 2), ('/home/nano/Desktop/images/12122025/17/17/image_12122025_17_17_14_9611.jpg', 2), ('/home/nano/Desktop/images/12122025/17/16/image_12122025_17_17_05_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/17/16/image_12122025_17_16_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:18:02.523746 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/17/image_12122025_17_17_44_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/17/17/image_12122025_17_17_34_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/17/17/image_12122025_17_17_25_10624.jpg', 2), ('/home/nano/Desktop/images/12122025/17/17/image_12122025_17_17_14_9611.jpg', 2), ('/home/nano/Desktop/images/12122025/17/16/image_12122025_17_17_05_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/17/16/image_12122025_17_16_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:18:32.011694 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/18/image_12122025_17_18_45_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/17/18/image_12122025_17_18_34_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/17/18/image_12122025_17_18_25_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/17/18/image_12122025_17_18_15_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/17/17/image_12122025_17_18_04_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/17/17/image_12122025_17_17_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:19:03.137239 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/19/image_12122025_17_19_24_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/17/18/image_12122025_17_18_45_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/17/18/image_12122025_17_18_34_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/17/18/image_12122025_17_18_25_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/17/18/image_12122025_17_18_15_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/17/17/image_12122025_17_18_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:19:32.145768 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/19/image_12122025_17_19_44_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/17/19/image_12122025_17_19_35_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/17/19/image_12122025_17_19_24_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/17/19/image_12122025_17_19_15_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/17/18/image_12122025_17_19_05_10640.jpg', 2), ('/home/nano/Desktop/images/12122025/17/18/image_12122025_17_18_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:20:02.765587 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/19/image_12122025_17_19_44_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/17/19/image_12122025_17_19_35_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/17/19/image_12122025_17_19_24_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/17/19/image_12122025_17_19_15_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/17/18/image_12122025_17_19_05_10640.jpg', 2), ('/home/nano/Desktop/images/12122025/17/18/image_12122025_17_18_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:20:32.257914 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/20/image_12122025_17_20_44_9594.jpg', 2), ('/home/nano/Desktop/images/12122025/17/20/image_12122025_17_20_35_9594.jpg', 2), ('/home/nano/Desktop/images/12122025/17/20/image_12122025_17_20_25_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/17/20/image_12122025_17_20_14_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/17/19/image_12122025_17_20_05_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/17/19/image_12122025_17_19_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:21:02.919631 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/20/image_12122025_17_20_44_9594.jpg', 2), ('/home/nano/Desktop/images/12122025/17/20/image_12122025_17_20_35_9594.jpg', 2), ('/home/nano/Desktop/images/12122025/17/20/image_12122025_17_20_25_10601.jpg', 2), ('/home/nano/Desktop/images/12122025/17/20/image_12122025_17_20_14_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/17/19/image_12122025_17_20_05_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/17/19/image_12122025_17_19_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:21:32.324866 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/21/image_12122025_17_21_34_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/17/21/image_12122025_17_21_25_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/17/21/image_12122025_17_21_15_10617.jpg', 2), ('/home/nano/Desktop/images/12122025/17/20/image_12122025_17_21_04_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/17/20/image_12122025_17_20_55_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/17/20/image_12122025_17_20_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:22:02.965847 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/21/image_12122025_17_21_34_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/17/21/image_12122025_17_21_25_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/17/21/image_12122025_17_21_15_10617.jpg', 2), ('/home/nano/Desktop/images/12122025/17/20/image_12122025_17_21_04_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/17/20/image_12122025_17_20_55_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/17/20/image_12122025_17_20_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:22:32.420565 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/22/image_12122025_17_22_44_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/17/22/image_12122025_17_22_35_10610.jpg', 2), ('/home/nano/Desktop/images/12122025/17/22/image_12122025_17_22_24_9611.jpg', 2), ('/home/nano/Desktop/images/12122025/17/22/image_12122025_17_22_15_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/17/21/image_12122025_17_22_05_10641.jpg', 2), ('/home/nano/Desktop/images/12122025/17/21/image_12122025_17_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:23:03.312441 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/22/image_12122025_17_22_44_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/17/22/image_12122025_17_22_35_10610.jpg', 2), ('/home/nano/Desktop/images/12122025/17/22/image_12122025_17_22_24_9611.jpg', 2), ('/home/nano/Desktop/images/12122025/17/22/image_12122025_17_22_15_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/17/21/image_12122025_17_22_05_10641.jpg', 2), ('/home/nano/Desktop/images/12122025/17/21/image_12122025_17_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:23:32.515839 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/23/image_12122025_17_23_44_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/17/23/image_12122025_17_23_25_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/17/23/image_12122025_17_23_14_9634.jpg', 2), ('/home/nano/Desktop/images/12122025/17/22/image_12122025_17_23_05_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/17/22/image_12122025_17_22_55_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/17/22/image_12122025_17_22_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:24:03.516823 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/23/image_12122025_17_23_44_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/17/23/image_12122025_17_23_25_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/17/23/image_12122025_17_23_14_9634.jpg', 2), ('/home/nano/Desktop/images/12122025/17/22/image_12122025_17_23_05_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/17/22/image_12122025_17_22_55_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/17/22/image_12122025_17_22_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:24:32.636285 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/24/image_12122025_17_24_45_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/17/24/image_12122025_17_24_34_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/17/24/image_12122025_17_24_15_10626.jpg', 2), ('/home/nano/Desktop/images/12122025/17/23/image_12122025_17_24_04_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/17/23/image_12122025_17_23_55_10620.jpg', 2), ('/home/nano/Desktop/images/12122025/17/23/image_12122025_17_23_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:25:03.468176 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/24/image_12122025_17_24_45_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/17/24/image_12122025_17_24_34_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/17/24/image_12122025_17_24_15_10626.jpg', 2), ('/home/nano/Desktop/images/12122025/17/23/image_12122025_17_24_04_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/17/23/image_12122025_17_23_55_10620.jpg', 2), ('/home/nano/Desktop/images/12122025/17/23/image_12122025_17_23_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:25:32.738205 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/25/image_12122025_17_25_45_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/17/25/image_12122025_17_25_35_10619.jpg', 2), ('/home/nano/Desktop/images/12122025/17/25/image_12122025_17_25_24_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/17/25/image_12122025_17_25_15_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/17/24/image_12122025_17_25_05_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/17/24/image_12122025_17_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:26:02.384681 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/25/image_12122025_17_25_45_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/17/25/image_12122025_17_25_35_10619.jpg', 2), ('/home/nano/Desktop/images/12122025/17/25/image_12122025_17_25_24_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/17/25/image_12122025_17_25_15_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/17/24/image_12122025_17_25_05_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/17/24/image_12122025_17_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:26:31.863584 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/26/image_12122025_17_26_44_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/17/26/image_12122025_17_26_35_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/17/26/image_12122025_17_26_25_10618.jpg', 2), ('/home/nano/Desktop/images/12122025/17/26/image_12122025_17_26_14_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/17/25/image_12122025_17_26_05_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/17/25/image_12122025_17_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:27:02.705533 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/26/image_12122025_17_26_44_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/17/26/image_12122025_17_26_35_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/17/26/image_12122025_17_26_25_10618.jpg', 2), ('/home/nano/Desktop/images/12122025/17/26/image_12122025_17_26_14_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/17/25/image_12122025_17_26_05_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/17/25/image_12122025_17_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:27:31.965897 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/27/image_12122025_17_27_45_10626.jpg', 2), ('/home/nano/Desktop/images/12122025/17/27/image_12122025_17_27_34_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/17/27/image_12122025_17_27_25_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/17/27/image_12122025_17_27_15_10645.jpg', 2), ('/home/nano/Desktop/images/12122025/17/26/image_12122025_17_27_04_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/17/26/image_12122025_17_26_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:28:02.630309 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/27/image_12122025_17_27_45_10626.jpg', 2), ('/home/nano/Desktop/images/12122025/17/27/image_12122025_17_27_34_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/17/27/image_12122025_17_27_25_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/17/27/image_12122025_17_27_15_10645.jpg', 2), ('/home/nano/Desktop/images/12122025/17/26/image_12122025_17_27_04_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/17/26/image_12122025_17_26_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:28:32.076652 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/28/image_12122025_17_28_45_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/17/28/image_12122025_17_28_35_10610.jpg', 2), ('/home/nano/Desktop/images/12122025/17/28/image_12122025_17_28_24_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/17/28/image_12122025_17_28_15_10651.jpg', 2), ('/home/nano/Desktop/images/12122025/17/27/image_12122025_17_28_04_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/17/27/image_12122025_17_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:29:03.215273 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/28/image_12122025_17_28_45_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/17/28/image_12122025_17_28_35_10610.jpg', 2), ('/home/nano/Desktop/images/12122025/17/28/image_12122025_17_28_24_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/17/28/image_12122025_17_28_15_10651.jpg', 2), ('/home/nano/Desktop/images/12122025/17/27/image_12122025_17_28_04_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/17/27/image_12122025_17_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:29:32.262482 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/29/image_12122025_17_29_44_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/17/29/image_12122025_17_29_35_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/17/29/image_12122025_17_29_25_10607.jpg', 2), ('/home/nano/Desktop/images/12122025/17/29/image_12122025_17_29_14_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/17/28/image_12122025_17_29_05_10618.jpg', 2), ('/home/nano/Desktop/images/12122025/17/28/image_12122025_17_28_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:30:02.842514 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/29/image_12122025_17_29_44_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/17/29/image_12122025_17_29_35_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/17/29/image_12122025_17_29_25_10607.jpg', 2), ('/home/nano/Desktop/images/12122025/17/29/image_12122025_17_29_14_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/17/28/image_12122025_17_29_05_10618.jpg', 2), ('/home/nano/Desktop/images/12122025/17/28/image_12122025_17_28_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:30:32.300954 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/30/image_12122025_17_30_45_10626.jpg', 2), ('/home/nano/Desktop/images/12122025/17/30/image_12122025_17_30_34_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/17/30/image_12122025_17_30_25_10642.jpg', 2), ('/home/nano/Desktop/images/12122025/17/30/image_12122025_17_30_14_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/17/29/image_12122025_17_30_05_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/17/29/image_12122025_17_29_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:31:02.982694 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/30/image_12122025_17_30_45_10626.jpg', 2), ('/home/nano/Desktop/images/12122025/17/30/image_12122025_17_30_34_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/17/30/image_12122025_17_30_25_10642.jpg', 2), ('/home/nano/Desktop/images/12122025/17/30/image_12122025_17_30_14_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/17/29/image_12122025_17_30_05_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/17/29/image_12122025_17_29_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:31:32.416460 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/31/image_12122025_17_31_45_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/17/31/image_12122025_17_31_35_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/17/31/image_12122025_17_31_24_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/17/31/image_12122025_17_31_15_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/17/30/image_12122025_17_31_04_9614.jpg', 2), ('/home/nano/Desktop/images/12122025/17/30/image_12122025_17_30_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:32:03.083410 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/31/image_12122025_17_31_45_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/17/31/image_12122025_17_31_35_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/17/31/image_12122025_17_31_24_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/17/31/image_12122025_17_31_15_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/17/30/image_12122025_17_31_04_9614.jpg', 2), ('/home/nano/Desktop/images/12122025/17/30/image_12122025_17_30_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:32:32.557692 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/32/image_12122025_17_32_35_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/17/32/image_12122025_17_32_24_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/17/32/image_12122025_17_32_15_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/17/31/image_12122025_17_32_05_10618.jpg', 2), ('/home/nano/Desktop/images/12122025/17/31/image_12122025_17_31_54_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/17/31/image_12122025_17_31_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:33:03.327562 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/32/image_12122025_17_32_35_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/17/32/image_12122025_17_32_24_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/17/32/image_12122025_17_32_15_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/17/31/image_12122025_17_32_05_10618.jpg', 2), ('/home/nano/Desktop/images/12122025/17/31/image_12122025_17_31_54_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/17/31/image_12122025_17_31_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:33:32.648997 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/33/image_12122025_17_33_44_9631.jpg', 2), ('/home/nano/Desktop/images/12122025/17/33/image_12122025_17_33_35_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/17/33/image_12122025_17_33_25_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/17/33/image_12122025_17_33_14_9654.jpg', 2), ('/home/nano/Desktop/images/12122025/17/32/image_12122025_17_33_05_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/17/32/image_12122025_17_32_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:34:03.448852 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/33/image_12122025_17_33_44_9631.jpg', 2), ('/home/nano/Desktop/images/12122025/17/33/image_12122025_17_33_35_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/17/33/image_12122025_17_33_25_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/17/33/image_12122025_17_33_14_9654.jpg', 2), ('/home/nano/Desktop/images/12122025/17/32/image_12122025_17_33_05_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/17/32/image_12122025_17_32_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:34:32.732584 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/33/image_12122025_17_33_44_9631.jpg', 2), ('/home/nano/Desktop/images/12122025/17/33/image_12122025_17_33_35_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/17/33/image_12122025_17_33_25_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/17/33/image_12122025_17_33_14_9654.jpg', 2), ('/home/nano/Desktop/images/12122025/17/32/image_12122025_17_33_05_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/17/32/image_12122025_17_32_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:35:02.431627 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/33/image_12122025_17_33_44_9631.jpg', 2), ('/home/nano/Desktop/images/12122025/17/33/image_12122025_17_33_35_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/17/33/image_12122025_17_33_25_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/17/33/image_12122025_17_33_14_9654.jpg', 2), ('/home/nano/Desktop/images/12122025/17/32/image_12122025_17_33_05_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/17/32/image_12122025_17_32_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:35:31.853869 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/35/image_12122025_17_35_45_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/17/35/image_12122025_17_35_35_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/17/35/image_12122025_17_35_24_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/17/35/image_12122025_17_35_15_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/17/34/image_12122025_17_35_05_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/17/33/image_12122025_17_33_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:36:02.454737 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/35/image_12122025_17_35_45_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/17/35/image_12122025_17_35_35_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/17/35/image_12122025_17_35_24_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/17/35/image_12122025_17_35_15_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/17/34/image_12122025_17_35_05_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/17/33/image_12122025_17_33_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:36:31.946691 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/36/image_12122025_17_36_44_9652.jpg', 2), ('/home/nano/Desktop/images/12122025/17/36/image_12122025_17_36_35_9650.jpg', 2), ('/home/nano/Desktop/images/12122025/17/36/image_12122025_17_36_25_10654.jpg', 2), ('/home/nano/Desktop/images/12122025/17/36/image_12122025_17_36_14_9653.jpg', 2), ('/home/nano/Desktop/images/12122025/17/35/image_12122025_17_36_05_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/17/35/image_12122025_17_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:37:02.776344 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/37/image_12122025_17_37_45_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/17/36/image_12122025_17_36_44_9652.jpg', 2), ('/home/nano/Desktop/images/12122025/17/36/image_12122025_17_36_35_9650.jpg', 2), ('/home/nano/Desktop/images/12122025/17/36/image_12122025_17_36_25_10654.jpg', 2), ('/home/nano/Desktop/images/12122025/17/36/image_12122025_17_36_14_9653.jpg', 2), ('/home/nano/Desktop/images/12122025/17/35/image_12122025_17_36_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:37:32.112812 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/37/image_12122025_17_37_45_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/17/37/image_12122025_17_37_34_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/17/37/image_12122025_17_37_25_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/17/37/image_12122025_17_37_14_9614.jpg', 2), ('/home/nano/Desktop/images/12122025/17/36/image_12122025_17_37_05_9611.jpg', 2), ('/home/nano/Desktop/images/12122025/17/36/image_12122025_17_36_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:38:02.652910 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/37/image_12122025_17_37_45_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/17/37/image_12122025_17_37_34_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/17/37/image_12122025_17_37_25_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/17/37/image_12122025_17_37_14_9614.jpg', 2), ('/home/nano/Desktop/images/12122025/17/36/image_12122025_17_37_05_9611.jpg', 2), ('/home/nano/Desktop/images/12122025/17/36/image_12122025_17_36_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:38:32.158482 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/38/image_12122025_17_38_45_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/17/38/image_12122025_17_38_34_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/17/38/image_12122025_17_38_25_9614.jpg', 2), ('/home/nano/Desktop/images/12122025/17/38/image_12122025_17_38_15_10627.jpg', 2), ('/home/nano/Desktop/images/12122025/17/37/image_12122025_17_38_04_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/17/37/image_12122025_17_37_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:39:03.471668 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/38/image_12122025_17_38_45_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/17/38/image_12122025_17_38_34_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/17/38/image_12122025_17_38_25_9614.jpg', 2), ('/home/nano/Desktop/images/12122025/17/38/image_12122025_17_38_15_10627.jpg', 2), ('/home/nano/Desktop/images/12122025/17/37/image_12122025_17_38_04_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/17/37/image_12122025_17_37_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:39:32.342592 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/39/image_12122025_17_39_45_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/17/39/image_12122025_17_39_35_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/17/39/image_12122025_17_39_24_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/17/39/image_12122025_17_39_15_9664.jpg', 2), ('/home/nano/Desktop/images/12122025/17/38/image_12122025_17_39_05_10687.jpg', 2), ('/home/nano/Desktop/images/12122025/17/38/image_12122025_17_38_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:40:03.006450 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/39/image_12122025_17_39_45_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/17/39/image_12122025_17_39_35_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/17/39/image_12122025_17_39_24_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/17/39/image_12122025_17_39_15_9664.jpg', 2), ('/home/nano/Desktop/images/12122025/17/38/image_12122025_17_39_05_10687.jpg', 2), ('/home/nano/Desktop/images/12122025/17/38/image_12122025_17_38_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:40:32.439398 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/40/image_12122025_17_40_44_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/17/40/image_12122025_17_40_35_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/17/40/image_12122025_17_40_25_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/17/40/image_12122025_17_40_14_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/17/39/image_12122025_17_40_05_10642.jpg', 2), ('/home/nano/Desktop/images/12122025/17/39/image_12122025_17_39_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:41:03.144896 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/40/image_12122025_17_40_44_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/17/40/image_12122025_17_40_35_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/17/40/image_12122025_17_40_25_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/17/40/image_12122025_17_40_14_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/17/39/image_12122025_17_40_05_10642.jpg', 2), ('/home/nano/Desktop/images/12122025/17/39/image_12122025_17_39_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:41:32.546293 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/41/image_12122025_17_41_45_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/17/41/image_12122025_17_41_34_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/17/41/image_12122025_17_41_25_10621.jpg', 2), ('/home/nano/Desktop/images/12122025/17/40/image_12122025_17_41_05_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/17/40/image_12122025_17_40_55_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/17/40/image_12122025_17_40_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:42:02.963283 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/41/image_12122025_17_41_45_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/17/41/image_12122025_17_41_34_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/17/41/image_12122025_17_41_25_10621.jpg', 2), ('/home/nano/Desktop/images/12122025/17/40/image_12122025_17_41_05_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/17/40/image_12122025_17_40_55_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/17/40/image_12122025_17_40_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:42:32.649803 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/42/image_12122025_17_42_45_9644.jpg', 2), ('/home/nano/Desktop/images/12122025/17/42/image_12122025_17_42_35_10641.jpg', 2), ('/home/nano/Desktop/images/12122025/17/42/image_12122025_17_42_24_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/17/42/image_12122025_17_42_15_10660.jpg', 2), ('/home/nano/Desktop/images/12122025/17/41/image_12122025_17_42_04_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/17/41/image_12122025_17_41_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:43:02.627657 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/42/image_12122025_17_42_45_9644.jpg', 2), ('/home/nano/Desktop/images/12122025/17/42/image_12122025_17_42_35_10641.jpg', 2), ('/home/nano/Desktop/images/12122025/17/42/image_12122025_17_42_24_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/17/42/image_12122025_17_42_15_10660.jpg', 2), ('/home/nano/Desktop/images/12122025/17/41/image_12122025_17_42_04_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/17/41/image_12122025_17_41_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:43:31.826868 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/43/image_12122025_17_43_44_9611.jpg', 2), ('/home/nano/Desktop/images/12122025/17/43/image_12122025_17_43_35_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/17/43/image_12122025_17_43_24_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/17/43/image_12122025_17_43_15_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/17/42/image_12122025_17_43_05_10640.jpg', 2), ('/home/nano/Desktop/images/12122025/17/42/image_12122025_17_42_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:44:02.864973 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/43/image_12122025_17_43_44_9611.jpg', 2), ('/home/nano/Desktop/images/12122025/17/43/image_12122025_17_43_35_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/17/43/image_12122025_17_43_24_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/17/43/image_12122025_17_43_15_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/17/42/image_12122025_17_43_05_10640.jpg', 2), ('/home/nano/Desktop/images/12122025/17/42/image_12122025_17_42_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:44:31.918352 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/44/image_12122025_17_44_44_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/17/44/image_12122025_17_44_35_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/17/44/image_12122025_17_44_25_10616.jpg', 2), ('/home/nano/Desktop/images/12122025/17/44/image_12122025_17_44_14_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/17/43/image_12122025_17_44_05_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/17/43/image_12122025_17_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:45:02.788134 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/44/image_12122025_17_44_44_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/17/44/image_12122025_17_44_35_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/17/44/image_12122025_17_44_25_10616.jpg', 2), ('/home/nano/Desktop/images/12122025/17/44/image_12122025_17_44_14_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/17/43/image_12122025_17_44_05_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/17/43/image_12122025_17_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:45:32.013544 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/45/image_12122025_17_45_45_10625.jpg', 2), ('/home/nano/Desktop/images/12122025/17/45/image_12122025_17_45_34_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/17/45/image_12122025_17_45_25_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/17/45/image_12122025_17_45_15_10672.jpg', 2), ('/home/nano/Desktop/images/12122025/17/44/image_12122025_17_45_04_9643.jpg', 2), ('/home/nano/Desktop/images/12122025/17/44/image_12122025_17_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:46:02.711763 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/46/image_12122025_17_46_54_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/17/45/image_12122025_17_45_45_10625.jpg', 2), ('/home/nano/Desktop/images/12122025/17/45/image_12122025_17_45_34_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/17/45/image_12122025_17_45_25_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/17/45/image_12122025_17_45_15_10672.jpg', 2), ('/home/nano/Desktop/images/12122025/17/44/image_12122025_17_45_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:46:32.128339 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/46/image_12122025_17_46_54_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/17/46/image_12122025_17_46_35_10621.jpg', 2), ('/home/nano/Desktop/images/12122025/17/46/image_12122025_17_46_24_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/17/45/image_12122025_17_46_04_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/17/45/image_12122025_17_45_55_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/17/45/image_12122025_17_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:47:02.842571 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/46/image_12122025_17_46_54_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/17/46/image_12122025_17_46_35_10621.jpg', 2), ('/home/nano/Desktop/images/12122025/17/46/image_12122025_17_46_24_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/17/45/image_12122025_17_46_04_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/17/45/image_12122025_17_45_55_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/17/45/image_12122025_17_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:47:32.209798 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/47/image_12122025_17_47_44_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/17/47/image_12122025_17_47_35_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/17/47/image_12122025_17_47_25_10628.jpg', 2), ('/home/nano/Desktop/images/12122025/17/47/image_12122025_17_47_14_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/17/46/image_12122025_17_47_05_10621.jpg', 2), ('/home/nano/Desktop/images/12122025/17/46/image_12122025_17_46_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:48:02.834312 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/47/image_12122025_17_47_44_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/17/47/image_12122025_17_47_35_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/17/47/image_12122025_17_47_25_10628.jpg', 2), ('/home/nano/Desktop/images/12122025/17/47/image_12122025_17_47_14_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/17/46/image_12122025_17_47_05_10621.jpg', 2), ('/home/nano/Desktop/images/12122025/17/46/image_12122025_17_46_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:48:32.301369 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/48/image_12122025_17_48_44_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/17/48/image_12122025_17_48_34_9634.jpg', 2), ('/home/nano/Desktop/images/12122025/17/48/image_12122025_17_48_25_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/17/48/image_12122025_17_48_14_9651.jpg', 2), ('/home/nano/Desktop/images/12122025/17/47/image_12122025_17_48_05_9653.jpg', 2), ('/home/nano/Desktop/images/12122025/17/47/image_12122025_17_47_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:49:03.425110 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/48/image_12122025_17_48_44_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/17/48/image_12122025_17_48_34_9634.jpg', 2), ('/home/nano/Desktop/images/12122025/17/48/image_12122025_17_48_25_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/17/48/image_12122025_17_48_14_9651.jpg', 2), ('/home/nano/Desktop/images/12122025/17/47/image_12122025_17_48_05_9653.jpg', 2), ('/home/nano/Desktop/images/12122025/17/47/image_12122025_17_47_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:49:32.374213 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/49/image_12122025_17_49_45_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/17/49/image_12122025_17_49_34_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/17/49/image_12122025_17_49_25_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/17/49/image_12122025_17_49_15_10627.jpg', 2), ('/home/nano/Desktop/images/12122025/17/48/image_12122025_17_49_04_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/17/48/image_12122025_17_48_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:50:02.967456 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/49/image_12122025_17_49_45_10608.jpg', 2), ('/home/nano/Desktop/images/12122025/17/49/image_12122025_17_49_34_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/17/49/image_12122025_17_49_25_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/17/49/image_12122025_17_49_15_10627.jpg', 2), ('/home/nano/Desktop/images/12122025/17/48/image_12122025_17_49_04_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/17/48/image_12122025_17_48_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:50:32.565796 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/50/image_12122025_17_50_44_9616.jpg', 2), ('/home/nano/Desktop/images/12122025/17/50/image_12122025_17_50_35_10626.jpg', 2), ('/home/nano/Desktop/images/12122025/17/50/image_12122025_17_50_24_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/17/50/image_12122025_17_50_15_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/17/49/image_12122025_17_50_05_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/17/49/image_12122025_17_49_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:51:03.292587 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/50/image_12122025_17_50_44_9616.jpg', 2), ('/home/nano/Desktop/images/12122025/17/50/image_12122025_17_50_35_10626.jpg', 2), ('/home/nano/Desktop/images/12122025/17/50/image_12122025_17_50_24_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/17/50/image_12122025_17_50_15_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/17/49/image_12122025_17_50_05_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/17/49/image_12122025_17_49_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:51:32.594650 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/51/image_12122025_17_51_44_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/17/51/image_12122025_17_51_35_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/17/51/image_12122025_17_51_25_10645.jpg', 2), ('/home/nano/Desktop/images/12122025/17/51/image_12122025_17_51_14_9668.jpg', 2), ('/home/nano/Desktop/images/12122025/17/50/image_12122025_17_51_05_9655.jpg', 2), ('/home/nano/Desktop/images/12122025/17/50/image_12122025_17_50_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:52:03.357273 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/51/image_12122025_17_51_44_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/17/51/image_12122025_17_51_35_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/17/51/image_12122025_17_51_25_10645.jpg', 2), ('/home/nano/Desktop/images/12122025/17/51/image_12122025_17_51_14_9668.jpg', 2), ('/home/nano/Desktop/images/12122025/17/50/image_12122025_17_51_05_9655.jpg', 2), ('/home/nano/Desktop/images/12122025/17/50/image_12122025_17_50_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:52:32.730117 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/52/image_12122025_17_52_45_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/17/52/image_12122025_17_52_34_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/17/52/image_12122025_17_52_25_10618.jpg', 2), ('/home/nano/Desktop/images/12122025/17/52/image_12122025_17_52_14_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/17/51/image_12122025_17_52_05_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/17/51/image_12122025_17_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:53:02.554394 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/52/image_12122025_17_52_45_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/17/52/image_12122025_17_52_34_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/17/52/image_12122025_17_52_25_10618.jpg', 2), ('/home/nano/Desktop/images/12122025/17/52/image_12122025_17_52_14_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/17/51/image_12122025_17_52_05_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/17/51/image_12122025_17_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:53:31.860712 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/53/image_12122025_17_53_45_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/17/53/image_12122025_17_53_35_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/17/53/image_12122025_17_53_24_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/17/53/image_12122025_17_53_15_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/17/52/image_12122025_17_53_04_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/17/52/image_12122025_17_52_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:54:02.721918 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/53/image_12122025_17_53_45_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/17/53/image_12122025_17_53_35_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/17/53/image_12122025_17_53_24_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/17/53/image_12122025_17_53_15_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/17/52/image_12122025_17_53_04_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/17/52/image_12122025_17_52_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:54:31.932017 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/54/image_12122025_17_54_44_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/17/54/image_12122025_17_54_35_10644.jpg', 2), ('/home/nano/Desktop/images/12122025/17/54/image_12122025_17_54_24_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/17/54/image_12122025_17_54_15_9646.jpg', 2), ('/home/nano/Desktop/images/12122025/17/53/image_12122025_17_54_05_10663.jpg', 2), ('/home/nano/Desktop/images/12122025/17/53/image_12122025_17_53_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:55:02.831046 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/54/image_12122025_17_54_44_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/17/54/image_12122025_17_54_35_10644.jpg', 2), ('/home/nano/Desktop/images/12122025/17/54/image_12122025_17_54_24_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/17/54/image_12122025_17_54_15_9646.jpg', 2), ('/home/nano/Desktop/images/12122025/17/53/image_12122025_17_54_05_10663.jpg', 2), ('/home/nano/Desktop/images/12122025/17/53/image_12122025_17_53_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:55:32.030889 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/55/image_12122025_17_55_44_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/17/55/image_12122025_17_55_35_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/17/55/image_12122025_17_55_25_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/17/55/image_12122025_17_55_14_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/17/54/image_12122025_17_55_05_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/17/54/image_12122025_17_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:56:02.671146 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/55/image_12122025_17_55_44_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/17/55/image_12122025_17_55_35_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/17/55/image_12122025_17_55_25_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/17/55/image_12122025_17_55_14_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/17/54/image_12122025_17_55_05_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/17/54/image_12122025_17_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:56:32.140280 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/56/image_12122025_17_56_45_10616.jpg', 2), ('/home/nano/Desktop/images/12122025/17/56/image_12122025_17_56_34_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/17/56/image_12122025_17_56_15_10627.jpg', 2), ('/home/nano/Desktop/images/12122025/17/55/image_12122025_17_56_04_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/17/55/image_12122025_17_55_55_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/17/55/image_12122025_17_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:57:02.927066 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/56/image_12122025_17_56_45_10616.jpg', 2), ('/home/nano/Desktop/images/12122025/17/56/image_12122025_17_56_34_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/17/56/image_12122025_17_56_15_10627.jpg', 2), ('/home/nano/Desktop/images/12122025/17/55/image_12122025_17_56_04_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/17/55/image_12122025_17_55_55_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/17/55/image_12122025_17_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:57:32.236506 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/57/image_12122025_17_57_35_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/17/57/image_12122025_17_57_24_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/17/57/image_12122025_17_57_15_10694.jpg', 2), ('/home/nano/Desktop/images/12122025/17/56/image_12122025_17_57_04_9672.jpg', 2), ('/home/nano/Desktop/images/12122025/17/56/image_12122025_17_56_54_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/17/56/image_12122025_17_56_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:59:03.363606 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/57/image_12122025_17_57_35_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/17/57/image_12122025_17_57_24_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/17/57/image_12122025_17_57_15_10694.jpg', 2), ('/home/nano/Desktop/images/12122025/17/56/image_12122025_17_57_04_9672.jpg', 2), ('/home/nano/Desktop/images/12122025/17/56/image_12122025_17_56_54_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/17/56/image_12122025_17_56_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 17:59:32.238959 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/59/image_12122025_17_59_45_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/17/59/image_12122025_17_59_34_9590.jpg', 2), ('/home/nano/Desktop/images/12122025/17/59/image_12122025_17_59_25_10626.jpg', 2), ('/home/nano/Desktop/images/12122025/17/59/image_12122025_17_59_14_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/17/58/image_12122025_17_59_05_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/17/58/image_12122025_17_58_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:00:02.821688 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/17/59/image_12122025_17_59_45_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/17/59/image_12122025_17_59_34_9590.jpg', 2), ('/home/nano/Desktop/images/12122025/17/59/image_12122025_17_59_25_10626.jpg', 2), ('/home/nano/Desktop/images/12122025/17/59/image_12122025_17_59_14_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/17/58/image_12122025_17_59_05_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/17/58/image_12122025_17_58_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:00:32.324644 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/00/image_12122025_18_00_45_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/18/00/image_12122025_18_00_34_9660.jpg', 2), ('/home/nano/Desktop/images/12122025/18/00/image_12122025_18_00_25_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/18/00/image_12122025_18_00_15_10640.jpg', 2), ('/home/nano/Desktop/images/12122025/17/59/image_12122025_18_00_04_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/17/59/image_12122025_17_59_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:01:03.268480 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/00/image_12122025_18_00_45_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/18/00/image_12122025_18_00_34_9660.jpg', 2), ('/home/nano/Desktop/images/12122025/18/00/image_12122025_18_00_25_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/18/00/image_12122025_18_00_15_10640.jpg', 2), ('/home/nano/Desktop/images/12122025/17/59/image_12122025_18_00_04_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/17/59/image_12122025_17_59_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:01:32.443857 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/01/image_12122025_18_01_44_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/18/01/image_12122025_18_01_35_10603.jpg', 2), ('/home/nano/Desktop/images/12122025/18/01/image_12122025_18_01_24_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/18/01/image_12122025_18_01_15_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/18/00/image_12122025_18_01_05_10610.jpg', 2), ('/home/nano/Desktop/images/12122025/18/00/image_12122025_18_00_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:02:03.033597 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/01/image_12122025_18_01_44_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/18/01/image_12122025_18_01_35_10603.jpg', 2), ('/home/nano/Desktop/images/12122025/18/01/image_12122025_18_01_24_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/18/01/image_12122025_18_01_15_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/18/00/image_12122025_18_01_05_10610.jpg', 2), ('/home/nano/Desktop/images/12122025/18/00/image_12122025_18_00_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:02:32.535030 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/02/image_12122025_18_02_44_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/18/02/image_12122025_18_02_35_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/18/02/image_12122025_18_02_25_10610.jpg', 2), ('/home/nano/Desktop/images/12122025/18/02/image_12122025_18_02_14_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/18/01/image_12122025_18_02_05_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/18/01/image_12122025_18_01_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:03:03.382276 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/02/image_12122025_18_02_44_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/18/02/image_12122025_18_02_35_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/18/02/image_12122025_18_02_25_10610.jpg', 2), ('/home/nano/Desktop/images/12122025/18/02/image_12122025_18_02_14_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/18/01/image_12122025_18_02_05_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/18/01/image_12122025_18_01_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:03:32.649204 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/03/image_12122025_18_03_45_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/18/03/image_12122025_18_03_34_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/18/03/image_12122025_18_03_25_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/18/03/image_12122025_18_03_15_10642.jpg', 2), ('/home/nano/Desktop/images/12122025/18/02/image_12122025_18_03_04_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/18/02/image_12122025_18_02_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:04:02.526155 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/03/image_12122025_18_03_45_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/18/03/image_12122025_18_03_34_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/18/03/image_12122025_18_03_25_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/18/03/image_12122025_18_03_15_10642.jpg', 2), ('/home/nano/Desktop/images/12122025/18/02/image_12122025_18_03_04_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/18/02/image_12122025_18_02_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:04:31.762327 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/04/image_12122025_18_04_45_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/18/04/image_12122025_18_04_35_10624.jpg', 2), ('/home/nano/Desktop/images/12122025/18/04/image_12122025_18_04_24_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/18/04/image_12122025_18_04_15_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/18/03/image_12122025_18_04_05_10627.jpg', 2), ('/home/nano/Desktop/images/12122025/18/03/image_12122025_18_03_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:05:02.541842 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/04/image_12122025_18_04_45_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/18/04/image_12122025_18_04_35_10624.jpg', 2), ('/home/nano/Desktop/images/12122025/18/04/image_12122025_18_04_24_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/18/04/image_12122025_18_04_15_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/18/03/image_12122025_18_04_05_10627.jpg', 2), ('/home/nano/Desktop/images/12122025/18/03/image_12122025_18_03_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:05:31.943053 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/05/image_12122025_18_05_44_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/18/05/image_12122025_18_05_35_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/18/05/image_12122025_18_05_25_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/18/05/image_12122025_18_05_14_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/18/04/image_12122025_18_05_05_10620.jpg', 2), ('/home/nano/Desktop/images/12122025/18/04/image_12122025_18_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:06:02.684259 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/05/image_12122025_18_05_44_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/18/05/image_12122025_18_05_35_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/18/05/image_12122025_18_05_25_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/18/05/image_12122025_18_05_14_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/18/04/image_12122025_18_05_05_10620.jpg', 2), ('/home/nano/Desktop/images/12122025/18/04/image_12122025_18_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:06:32.062393 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/06/image_12122025_18_06_45_10602.jpg', 2), ('/home/nano/Desktop/images/12122025/18/06/image_12122025_18_06_34_9595.jpg', 2), ('/home/nano/Desktop/images/12122025/18/06/image_12122025_18_06_25_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/18/06/image_12122025_18_06_15_10624.jpg', 2), ('/home/nano/Desktop/images/12122025/18/05/image_12122025_18_06_04_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/18/05/image_12122025_18_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:07:02.902382 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/06/image_12122025_18_06_45_10602.jpg', 2), ('/home/nano/Desktop/images/12122025/18/06/image_12122025_18_06_34_9595.jpg', 2), ('/home/nano/Desktop/images/12122025/18/06/image_12122025_18_06_25_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/18/06/image_12122025_18_06_15_10624.jpg', 2), ('/home/nano/Desktop/images/12122025/18/05/image_12122025_18_06_04_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/18/05/image_12122025_18_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:07:32.106823 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/07/image_12122025_18_07_45_9715.jpg', 2), ('/home/nano/Desktop/images/12122025/18/07/image_12122025_18_07_35_10720.jpg', 2), ('/home/nano/Desktop/images/12122025/18/07/image_12122025_18_07_24_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/18/07/image_12122025_18_07_15_9651.jpg', 2), ('/home/nano/Desktop/images/12122025/18/06/image_12122025_18_07_05_10667.jpg', 2), ('/home/nano/Desktop/images/12122025/18/06/image_12122025_18_06_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:08:02.745103 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/07/image_12122025_18_07_45_9715.jpg', 2), ('/home/nano/Desktop/images/12122025/18/07/image_12122025_18_07_35_10720.jpg', 2), ('/home/nano/Desktop/images/12122025/18/07/image_12122025_18_07_24_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/18/07/image_12122025_18_07_15_9651.jpg', 2), ('/home/nano/Desktop/images/12122025/18/06/image_12122025_18_07_05_10667.jpg', 2), ('/home/nano/Desktop/images/12122025/18/06/image_12122025_18_06_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:08:32.213698 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/08/image_12122025_18_08_44_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/18/08/image_12122025_18_08_35_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/18/07/image_12122025_18_08_05_10626.jpg', 2), ('/home/nano/Desktop/images/12122025/18/07/image_12122025_18_07_54_9659.jpg', 2), ('/home/nano/Desktop/images/12122025/18/07/image_12122025_18_07_45_9715.jpg', 2), ('/home/nano/Desktop/images/12122025/18/07/image_12122025_18_07_35_10720.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:09:03.284494 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/08/image_12122025_18_08_44_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/18/08/image_12122025_18_08_35_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/18/07/image_12122025_18_08_05_10626.jpg', 2), ('/home/nano/Desktop/images/12122025/18/07/image_12122025_18_07_54_9659.jpg', 2), ('/home/nano/Desktop/images/12122025/18/07/image_12122025_18_07_45_9715.jpg', 2), ('/home/nano/Desktop/images/12122025/18/07/image_12122025_18_07_35_10720.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:09:32.328288 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/09/image_12122025_18_09_35_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/18/09/image_12122025_18_09_25_10618.jpg', 2), ('/home/nano/Desktop/images/12122025/18/08/image_12122025_18_08_54_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/18/08/image_12122025_18_08_44_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/18/08/image_12122025_18_08_35_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/18/07/image_12122025_18_08_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:10:02.892806 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/09/image_12122025_18_09_35_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/18/09/image_12122025_18_09_25_10618.jpg', 2), ('/home/nano/Desktop/images/12122025/18/08/image_12122025_18_08_54_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/18/08/image_12122025_18_08_44_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/18/08/image_12122025_18_08_35_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/18/07/image_12122025_18_08_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:10:32.408895 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/10/image_12122025_18_10_45_10648.jpg', 2), ('/home/nano/Desktop/images/12122025/18/10/image_12122025_18_10_34_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/18/10/image_12122025_18_10_25_10617.jpg', 2), ('/home/nano/Desktop/images/12122025/18/09/image_12122025_18_09_44_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/18/09/image_12122025_18_09_35_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/18/09/image_12122025_18_09_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:11:03.202413 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/10/image_12122025_18_10_45_10648.jpg', 2), ('/home/nano/Desktop/images/12122025/18/10/image_12122025_18_10_34_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/18/10/image_12122025_18_10_25_10617.jpg', 2), ('/home/nano/Desktop/images/12122025/18/09/image_12122025_18_09_44_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/18/09/image_12122025_18_09_35_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/18/09/image_12122025_18_09_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:11:32.590513 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/11/image_12122025_18_11_35_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/18/11/image_12122025_18_11_24_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/18/11/image_12122025_18_11_15_10651.jpg', 2), ('/home/nano/Desktop/images/12122025/18/10/image_12122025_18_11_04_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/18/10/image_12122025_18_10_55_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/18/10/image_12122025_18_10_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:12:03.158434 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/11/image_12122025_18_11_35_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/18/11/image_12122025_18_11_24_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/18/11/image_12122025_18_11_15_10651.jpg', 2), ('/home/nano/Desktop/images/12122025/18/10/image_12122025_18_11_04_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/18/10/image_12122025_18_10_55_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/18/10/image_12122025_18_10_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:12:32.599887 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/12/image_12122025_18_12_44_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/18/12/image_12122025_18_12_35_10616.jpg', 2), ('/home/nano/Desktop/images/12122025/18/12/image_12122025_18_12_15_9644.jpg', 2), ('/home/nano/Desktop/images/12122025/18/11/image_12122025_18_12_05_10647.jpg', 2), ('/home/nano/Desktop/images/12122025/18/11/image_12122025_18_11_54_9611.jpg', 2), ('/home/nano/Desktop/images/12122025/18/11/image_12122025_18_11_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:13:03.468008 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/12/image_12122025_18_12_44_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/18/12/image_12122025_18_12_35_10616.jpg', 2), ('/home/nano/Desktop/images/12122025/18/12/image_12122025_18_12_15_9644.jpg', 2), ('/home/nano/Desktop/images/12122025/18/11/image_12122025_18_12_05_10647.jpg', 2), ('/home/nano/Desktop/images/12122025/18/11/image_12122025_18_11_54_9611.jpg', 2), ('/home/nano/Desktop/images/12122025/18/11/image_12122025_18_11_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:13:32.685857 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/13/image_12122025_18_13_44_9767.jpg', 2), ('/home/nano/Desktop/images/12122025/18/13/image_12122025_18_13_35_9660.jpg', 2), ('/home/nano/Desktop/images/12122025/18/13/image_12122025_18_13_25_10681.jpg', 2), ('/home/nano/Desktop/images/12122025/18/13/image_12122025_18_13_14_9659.jpg', 2), ('/home/nano/Desktop/images/12122025/18/12/image_12122025_18_13_05_9650.jpg', 2), ('/home/nano/Desktop/images/12122025/18/12/image_12122025_18_12_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:14:02.726772 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/13/image_12122025_18_13_44_9767.jpg', 2), ('/home/nano/Desktop/images/12122025/18/13/image_12122025_18_13_35_9660.jpg', 2), ('/home/nano/Desktop/images/12122025/18/13/image_12122025_18_13_25_10681.jpg', 2), ('/home/nano/Desktop/images/12122025/18/13/image_12122025_18_13_14_9659.jpg', 2), ('/home/nano/Desktop/images/12122025/18/12/image_12122025_18_13_05_9650.jpg', 2), ('/home/nano/Desktop/images/12122025/18/12/image_12122025_18_12_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:14:31.977446 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/14/image_12122025_18_14_45_10796.jpg', 2), ('/home/nano/Desktop/images/12122025/18/14/image_12122025_18_14_34_9783.jpg', 2), ('/home/nano/Desktop/images/12122025/18/14/image_12122025_18_14_24_9653.jpg', 2), ('/home/nano/Desktop/images/12122025/18/14/image_12122025_18_14_15_9793.jpg', 2), ('/home/nano/Desktop/images/12122025/18/13/image_12122025_18_14_05_10681.jpg', 2), ('/home/nano/Desktop/images/12122025/18/13/image_12122025_18_13_54_9787.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:15:02.730946 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/14/image_12122025_18_14_45_10796.jpg', 2), ('/home/nano/Desktop/images/12122025/18/14/image_12122025_18_14_34_9783.jpg', 2), ('/home/nano/Desktop/images/12122025/18/14/image_12122025_18_14_24_9653.jpg', 2), ('/home/nano/Desktop/images/12122025/18/14/image_12122025_18_14_15_9793.jpg', 2), ('/home/nano/Desktop/images/12122025/18/13/image_12122025_18_14_05_10681.jpg', 2), ('/home/nano/Desktop/images/12122025/18/13/image_12122025_18_13_54_9787.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:15:32.072223 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/15/image_12122025_18_15_45_9682.jpg', 2), ('/home/nano/Desktop/images/12122025/18/15/image_12122025_18_15_35_9788.jpg', 2), ('/home/nano/Desktop/images/12122025/18/15/image_12122025_18_15_25_10683.jpg', 2), ('/home/nano/Desktop/images/12122025/18/15/image_12122025_18_15_14_9814.jpg', 2), ('/home/nano/Desktop/images/12122025/18/14/image_12122025_18_15_05_9801.jpg', 2), ('/home/nano/Desktop/images/12122025/18/14/image_12122025_18_14_55_9798.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:16:02.839767 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/15/image_12122025_18_15_45_9682.jpg', 2), ('/home/nano/Desktop/images/12122025/18/15/image_12122025_18_15_35_9788.jpg', 2), ('/home/nano/Desktop/images/12122025/18/15/image_12122025_18_15_25_10683.jpg', 2), ('/home/nano/Desktop/images/12122025/18/15/image_12122025_18_15_14_9814.jpg', 2), ('/home/nano/Desktop/images/12122025/18/14/image_12122025_18_15_05_9801.jpg', 2), ('/home/nano/Desktop/images/12122025/18/14/image_12122025_18_14_55_9798.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:16:32.276819 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/16/image_12122025_18_16_44_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/18/16/image_12122025_18_16_35_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/18/16/image_12122025_18_16_25_10619.jpg', 2), ('/home/nano/Desktop/images/12122025/18/16/image_12122025_18_16_14_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/18/15/image_12122025_18_15_54_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/18/15/image_12122025_18_15_45_9682.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:17:03.006217 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/16/image_12122025_18_16_44_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/18/16/image_12122025_18_16_35_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/18/16/image_12122025_18_16_25_10619.jpg', 2), ('/home/nano/Desktop/images/12122025/18/16/image_12122025_18_16_14_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/18/15/image_12122025_18_15_54_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/18/15/image_12122025_18_15_45_9682.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:17:32.285145 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/17/image_12122025_18_17_45_10620.jpg', 2), ('/home/nano/Desktop/images/12122025/18/17/image_12122025_18_17_34_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/18/17/image_12122025_18_17_25_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/18/17/image_12122025_18_17_15_10640.jpg', 2), ('/home/nano/Desktop/images/12122025/18/16/image_12122025_18_17_04_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/18/16/image_12122025_18_16_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:18:02.983545 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/17/image_12122025_18_17_45_10620.jpg', 2), ('/home/nano/Desktop/images/12122025/18/17/image_12122025_18_17_34_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/18/17/image_12122025_18_17_25_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/18/17/image_12122025_18_17_15_10640.jpg', 2), ('/home/nano/Desktop/images/12122025/18/16/image_12122025_18_17_04_9613.jpg', 2), ('/home/nano/Desktop/images/12122025/18/16/image_12122025_18_16_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:18:32.398064 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/18/image_12122025_18_18_45_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/18/18/image_12122025_18_18_24_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/18/18/image_12122025_18_18_15_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/18/17/image_12122025_18_18_04_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/18/17/image_12122025_18_17_55_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/18/17/image_12122025_18_17_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:19:03.656136 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/18/image_12122025_18_18_45_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/18/18/image_12122025_18_18_24_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/18/18/image_12122025_18_18_15_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/18/17/image_12122025_18_18_04_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/18/17/image_12122025_18_17_55_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/18/17/image_12122025_18_17_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:19:32.517013 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/19/image_12122025_18_19_44_9611.jpg', 2), ('/home/nano/Desktop/images/12122025/18/18/image_12122025_18_19_05_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/18/18/image_12122025_18_18_54_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/18/18/image_12122025_18_18_45_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/18/18/image_12122025_18_18_24_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/18/18/image_12122025_18_18_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:20:03.080311 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/19/image_12122025_18_19_44_9611.jpg', 2), ('/home/nano/Desktop/images/12122025/18/18/image_12122025_18_19_05_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/18/18/image_12122025_18_18_54_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/18/18/image_12122025_18_18_45_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/18/18/image_12122025_18_18_24_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/18/18/image_12122025_18_18_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:20:32.596726 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/20/image_12122025_18_20_45_10622.jpg', 2), ('/home/nano/Desktop/images/12122025/18/20/image_12122025_18_20_34_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/18/20/image_12122025_18_20_25_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/18/19/image_12122025_18_20_05_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/18/19/image_12122025_18_19_55_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/18/19/image_12122025_18_19_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:21:03.470895 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/20/image_12122025_18_20_45_10622.jpg', 2), ('/home/nano/Desktop/images/12122025/18/20/image_12122025_18_20_34_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/18/20/image_12122025_18_20_25_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/18/19/image_12122025_18_20_05_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/18/19/image_12122025_18_19_55_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/18/19/image_12122025_18_19_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:21:32.692607 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/21/image_12122025_18_21_45_10610.jpg', 2), ('/home/nano/Desktop/images/12122025/18/21/image_12122025_18_21_34_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/18/21/image_12122025_18_21_25_9611.jpg', 2), ('/home/nano/Desktop/images/12122025/18/21/image_12122025_18_21_15_10643.jpg', 2), ('/home/nano/Desktop/images/12122025/18/20/image_12122025_18_21_04_9614.jpg', 2), ('/home/nano/Desktop/images/12122025/18/20/image_12122025_18_20_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:22:02.446466 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/21/image_12122025_18_21_45_10610.jpg', 2), ('/home/nano/Desktop/images/12122025/18/21/image_12122025_18_21_34_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/18/21/image_12122025_18_21_25_9611.jpg', 2), ('/home/nano/Desktop/images/12122025/18/21/image_12122025_18_21_15_10643.jpg', 2), ('/home/nano/Desktop/images/12122025/18/20/image_12122025_18_21_04_9614.jpg', 2), ('/home/nano/Desktop/images/12122025/18/20/image_12122025_18_20_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:22:31.791290 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/22/image_12122025_18_22_44_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/18/22/image_12122025_18_22_35_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/18/22/image_12122025_18_22_24_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/18/22/image_12122025_18_22_15_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/18/21/image_12122025_18_22_05_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/18/21/image_12122025_18_21_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:23:02.555486 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/22/image_12122025_18_22_44_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/18/22/image_12122025_18_22_35_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/18/22/image_12122025_18_22_24_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/18/22/image_12122025_18_22_15_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/18/21/image_12122025_18_22_05_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/18/21/image_12122025_18_21_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:23:31.943230 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/23/image_12122025_18_23_44_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/18/23/image_12122025_18_23_34_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/18/23/image_12122025_18_23_25_10623.jpg', 2), ('/home/nano/Desktop/images/12122025/18/23/image_12122025_18_23_14_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/18/22/image_12122025_18_23_05_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/18/22/image_12122025_18_22_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:24:02.970866 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/23/image_12122025_18_23_44_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/18/23/image_12122025_18_23_34_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/18/23/image_12122025_18_23_25_10623.jpg', 2), ('/home/nano/Desktop/images/12122025/18/23/image_12122025_18_23_14_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/18/22/image_12122025_18_23_05_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/18/22/image_12122025_18_22_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:24:31.986682 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/24/image_12122025_18_24_44_9784.jpg', 2), ('/home/nano/Desktop/images/12122025/18/24/image_12122025_18_24_35_9800.jpg', 2), ('/home/nano/Desktop/images/12122025/18/24/image_12122025_18_24_25_9685.jpg', 2), ('/home/nano/Desktop/images/12122025/18/24/image_12122025_18_24_15_10641.jpg', 2), ('/home/nano/Desktop/images/12122025/18/23/image_12122025_18_24_04_9648.jpg', 2), ('/home/nano/Desktop/images/12122025/18/23/image_12122025_18_23_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:25:02.670658 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/24/image_12122025_18_24_44_9784.jpg', 2), ('/home/nano/Desktop/images/12122025/18/24/image_12122025_18_24_35_9800.jpg', 2), ('/home/nano/Desktop/images/12122025/18/24/image_12122025_18_24_25_9685.jpg', 2), ('/home/nano/Desktop/images/12122025/18/24/image_12122025_18_24_15_10641.jpg', 2), ('/home/nano/Desktop/images/12122025/18/23/image_12122025_18_24_04_9648.jpg', 2), ('/home/nano/Desktop/images/12122025/18/23/image_12122025_18_23_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:25:32.086388 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/25/image_12122025_18_25_44_9683.jpg', 2), ('/home/nano/Desktop/images/12122025/18/25/image_12122025_18_25_35_10622.jpg', 2), ('/home/nano/Desktop/images/12122025/18/25/image_12122025_18_25_24_9818.jpg', 2), ('/home/nano/Desktop/images/12122025/18/25/image_12122025_18_25_14_9671.jpg', 2), ('/home/nano/Desktop/images/12122025/18/24/image_12122025_18_25_05_9755.jpg', 2), ('/home/nano/Desktop/images/12122025/18/24/image_12122025_18_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:26:02.632622 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/25/image_12122025_18_25_44_9683.jpg', 2), ('/home/nano/Desktop/images/12122025/18/25/image_12122025_18_25_35_10622.jpg', 2), ('/home/nano/Desktop/images/12122025/18/25/image_12122025_18_25_24_9818.jpg', 2), ('/home/nano/Desktop/images/12122025/18/25/image_12122025_18_25_14_9671.jpg', 2), ('/home/nano/Desktop/images/12122025/18/24/image_12122025_18_25_05_9755.jpg', 2), ('/home/nano/Desktop/images/12122025/18/24/image_12122025_18_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:26:32.211008 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/26/image_12122025_18_26_44_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/18/26/image_12122025_18_26_24_9594.jpg', 2), ('/home/nano/Desktop/images/12122025/18/26/image_12122025_18_26_15_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/18/25/image_12122025_18_26_05_10678.jpg', 2), ('/home/nano/Desktop/images/12122025/18/25/image_12122025_18_25_54_9706.jpg', 2), ('/home/nano/Desktop/images/12122025/18/25/image_12122025_18_25_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:27:02.965887 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/26/image_12122025_18_26_44_9598.jpg', 2), ('/home/nano/Desktop/images/12122025/18/26/image_12122025_18_26_24_9594.jpg', 2), ('/home/nano/Desktop/images/12122025/18/26/image_12122025_18_26_15_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/18/25/image_12122025_18_26_05_10678.jpg', 2), ('/home/nano/Desktop/images/12122025/18/25/image_12122025_18_25_54_9706.jpg', 2), ('/home/nano/Desktop/images/12122025/18/25/image_12122025_18_25_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:27:32.295756 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/27/image_12122025_18_27_45_10628.jpg', 2), ('/home/nano/Desktop/images/12122025/18/27/image_12122025_18_27_34_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/18/27/image_12122025_18_27_25_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/18/27/image_12122025_18_27_14_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/18/26/image_12122025_18_27_05_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/18/26/image_12122025_18_26_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:28:02.911545 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/27/image_12122025_18_27_45_10628.jpg', 2), ('/home/nano/Desktop/images/12122025/18/27/image_12122025_18_27_34_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/18/27/image_12122025_18_27_25_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/18/27/image_12122025_18_27_14_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/18/26/image_12122025_18_27_05_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/18/26/image_12122025_18_26_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:28:32.432259 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/28/image_12122025_18_28_35_10618.jpg', 2), ('/home/nano/Desktop/images/12122025/18/28/image_12122025_18_28_24_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/18/28/image_12122025_18_28_15_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/18/27/image_12122025_18_28_04_9611.jpg', 2), ('/home/nano/Desktop/images/12122025/18/27/image_12122025_18_27_55_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/18/27/image_12122025_18_27_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:29:03.578213 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/28/image_12122025_18_28_35_10618.jpg', 2), ('/home/nano/Desktop/images/12122025/18/28/image_12122025_18_28_24_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/18/28/image_12122025_18_28_15_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/18/27/image_12122025_18_28_04_9611.jpg', 2), ('/home/nano/Desktop/images/12122025/18/27/image_12122025_18_27_55_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/18/27/image_12122025_18_27_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:29:32.558458 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/29/image_12122025_18_29_44_9647.jpg', 2), ('/home/nano/Desktop/images/12122025/18/29/image_12122025_18_29_35_10606.jpg', 2), ('/home/nano/Desktop/images/12122025/18/29/image_12122025_18_29_24_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/18/29/image_12122025_18_29_15_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/18/28/image_12122025_18_29_05_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/18/28/image_12122025_18_28_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:30:03.065048 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/29/image_12122025_18_29_44_9647.jpg', 2), ('/home/nano/Desktop/images/12122025/18/29/image_12122025_18_29_35_10606.jpg', 2), ('/home/nano/Desktop/images/12122025/18/29/image_12122025_18_29_24_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/18/29/image_12122025_18_29_15_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/18/28/image_12122025_18_29_05_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/18/28/image_12122025_18_28_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:30:32.582008 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/30/image_12122025_18_30_44_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/18/30/image_12122025_18_30_35_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/18/30/image_12122025_18_30_25_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/18/30/image_12122025_18_30_14_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/18/29/image_12122025_18_30_05_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/18/29/image_12122025_18_29_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:31:03.527528 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/30/image_12122025_18_30_44_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/18/30/image_12122025_18_30_35_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/18/30/image_12122025_18_30_25_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/18/30/image_12122025_18_30_14_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/18/29/image_12122025_18_30_05_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/18/29/image_12122025_18_29_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:31:32.696893 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/31/image_12122025_18_31_45_10620.jpg', 2), ('/home/nano/Desktop/images/12122025/18/31/image_12122025_18_31_25_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/18/31/image_12122025_18_31_15_10646.jpg', 2), ('/home/nano/Desktop/images/12122025/18/30/image_12122025_18_31_04_9614.jpg', 2), ('/home/nano/Desktop/images/12122025/18/30/image_12122025_18_30_55_10617.jpg', 2), ('/home/nano/Desktop/images/12122025/18/30/image_12122025_18_30_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:32:02.248035 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/31/image_12122025_18_31_45_10620.jpg', 2), ('/home/nano/Desktop/images/12122025/18/31/image_12122025_18_31_25_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/18/31/image_12122025_18_31_15_10646.jpg', 2), ('/home/nano/Desktop/images/12122025/18/30/image_12122025_18_31_04_9614.jpg', 2), ('/home/nano/Desktop/images/12122025/18/30/image_12122025_18_30_55_10617.jpg', 2), ('/home/nano/Desktop/images/12122025/18/30/image_12122025_18_30_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:32:31.794811 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/32/image_12122025_18_32_35_10617.jpg', 2), ('/home/nano/Desktop/images/12122025/18/32/image_12122025_18_32_24_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/18/32/image_12122025_18_32_15_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/18/31/image_12122025_18_32_05_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/18/31/image_12122025_18_31_54_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/18/31/image_12122025_18_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:33:02.638907 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/32/image_12122025_18_32_35_10617.jpg', 2), ('/home/nano/Desktop/images/12122025/18/32/image_12122025_18_32_24_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/18/32/image_12122025_18_32_15_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/18/31/image_12122025_18_32_05_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/18/31/image_12122025_18_31_54_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/18/31/image_12122025_18_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:33:31.928844 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/33/image_12122025_18_33_44_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/18/33/image_12122025_18_33_35_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/18/33/image_12122025_18_33_25_10640.jpg', 2), ('/home/nano/Desktop/images/12122025/18/33/image_12122025_18_33_14_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/18/32/image_12122025_18_33_05_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/18/32/image_12122025_18_32_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:34:02.631350 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/33/image_12122025_18_33_44_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/18/33/image_12122025_18_33_35_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/18/33/image_12122025_18_33_25_10640.jpg', 2), ('/home/nano/Desktop/images/12122025/18/33/image_12122025_18_33_14_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/18/32/image_12122025_18_33_05_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/18/32/image_12122025_18_32_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:34:31.992366 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/34/image_12122025_18_34_45_10606.jpg', 2), ('/home/nano/Desktop/images/12122025/18/34/image_12122025_18_34_34_9616.jpg', 2), ('/home/nano/Desktop/images/12122025/18/34/image_12122025_18_34_25_10616.jpg', 2), ('/home/nano/Desktop/images/12122025/18/34/image_12122025_18_34_14_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/18/33/image_12122025_18_34_04_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/18/33/image_12122025_18_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:35:02.938254 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/34/image_12122025_18_34_45_10606.jpg', 2), ('/home/nano/Desktop/images/12122025/18/34/image_12122025_18_34_34_9616.jpg', 2), ('/home/nano/Desktop/images/12122025/18/34/image_12122025_18_34_25_10616.jpg', 2), ('/home/nano/Desktop/images/12122025/18/34/image_12122025_18_34_14_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/18/33/image_12122025_18_34_04_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/18/33/image_12122025_18_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:35:32.086602 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/35/image_12122025_18_35_45_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/18/35/image_12122025_18_35_35_10605.jpg', 2), ('/home/nano/Desktop/images/12122025/18/35/image_12122025_18_35_24_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/18/35/image_12122025_18_35_15_10624.jpg', 2), ('/home/nano/Desktop/images/12122025/18/34/image_12122025_18_35_04_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/18/34/image_12122025_18_34_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:36:02.802975 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/35/image_12122025_18_35_45_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/18/35/image_12122025_18_35_35_10605.jpg', 2), ('/home/nano/Desktop/images/12122025/18/35/image_12122025_18_35_24_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/18/35/image_12122025_18_35_15_10624.jpg', 2), ('/home/nano/Desktop/images/12122025/18/34/image_12122025_18_35_04_9600.jpg', 2), ('/home/nano/Desktop/images/12122025/18/34/image_12122025_18_34_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:36:32.181259 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/36/image_12122025_18_36_44_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/18/36/image_12122025_18_36_35_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/18/36/image_12122025_18_36_25_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/18/35/image_12122025_18_36_05_10638.jpg', 2), ('/home/nano/Desktop/images/12122025/18/35/image_12122025_18_35_54_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/18/35/image_12122025_18_35_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:37:02.947834 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/36/image_12122025_18_36_44_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/18/36/image_12122025_18_36_35_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/18/36/image_12122025_18_36_25_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/18/35/image_12122025_18_36_05_10638.jpg', 2), ('/home/nano/Desktop/images/12122025/18/35/image_12122025_18_35_54_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/18/35/image_12122025_18_35_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:37:32.280919 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/37/image_12122025_18_37_45_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/18/37/image_12122025_18_37_34_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/18/37/image_12122025_18_37_25_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/18/37/image_12122025_18_37_14_9616.jpg', 2), ('/home/nano/Desktop/images/12122025/18/36/image_12122025_18_37_04_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/18/36/image_12122025_18_36_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:38:03.068627 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/37/image_12122025_18_37_45_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/18/37/image_12122025_18_37_34_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/18/37/image_12122025_18_37_25_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/18/37/image_12122025_18_37_14_9616.jpg', 2), ('/home/nano/Desktop/images/12122025/18/36/image_12122025_18_37_04_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/18/36/image_12122025_18_36_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:38:32.398217 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/38/image_12122025_18_38_34_9664.jpg', 2), ('/home/nano/Desktop/images/12122025/18/38/image_12122025_18_38_25_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/18/38/image_12122025_18_38_15_10662.jpg', 2), ('/home/nano/Desktop/images/12122025/18/37/image_12122025_18_38_04_9666.jpg', 2), ('/home/nano/Desktop/images/12122025/18/37/image_12122025_18_37_55_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/18/37/image_12122025_18_37_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:39:03.650110 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/38/image_12122025_18_38_34_9664.jpg', 2), ('/home/nano/Desktop/images/12122025/18/38/image_12122025_18_38_25_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/18/38/image_12122025_18_38_15_10662.jpg', 2), ('/home/nano/Desktop/images/12122025/18/37/image_12122025_18_38_04_9666.jpg', 2), ('/home/nano/Desktop/images/12122025/18/37/image_12122025_18_37_55_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/18/37/image_12122025_18_37_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:39:32.520560 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/39/image_12122025_18_39_45_10666.jpg', 2), ('/home/nano/Desktop/images/12122025/18/39/image_12122025_18_39_34_9674.jpg', 2), ('/home/nano/Desktop/images/12122025/18/39/image_12122025_18_39_25_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/18/39/image_12122025_18_39_15_10717.jpg', 2), ('/home/nano/Desktop/images/12122025/18/38/image_12122025_18_39_04_9749.jpg', 2), ('/home/nano/Desktop/images/12122025/18/38/image_12122025_18_38_45_10684.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:40:03.162658 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/39/image_12122025_18_39_45_10666.jpg', 2), ('/home/nano/Desktop/images/12122025/18/39/image_12122025_18_39_34_9674.jpg', 2), ('/home/nano/Desktop/images/12122025/18/39/image_12122025_18_39_25_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/18/39/image_12122025_18_39_15_10717.jpg', 2), ('/home/nano/Desktop/images/12122025/18/38/image_12122025_18_39_04_9749.jpg', 2), ('/home/nano/Desktop/images/12122025/18/38/image_12122025_18_38_45_10684.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:40:32.593286 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/40/image_12122025_18_40_45_10610.jpg', 2), ('/home/nano/Desktop/images/12122025/18/40/image_12122025_18_40_34_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/18/40/image_12122025_18_40_25_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/18/40/image_12122025_18_40_15_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/18/39/image_12122025_18_40_04_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/18/39/image_12122025_18_39_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:41:03.468630 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/40/image_12122025_18_41_05_10623.jpg', 2), ('/home/nano/Desktop/images/12122025/18/40/image_12122025_18_40_45_10610.jpg', 2), ('/home/nano/Desktop/images/12122025/18/40/image_12122025_18_40_34_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/18/40/image_12122025_18_40_25_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/18/40/image_12122025_18_40_15_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/18/39/image_12122025_18_40_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:41:32.706313 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/41/image_12122025_18_41_44_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/18/41/image_12122025_18_41_35_10621.jpg', 2), ('/home/nano/Desktop/images/12122025/18/41/image_12122025_18_41_24_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/18/41/image_12122025_18_41_15_9645.jpg', 2), ('/home/nano/Desktop/images/12122025/18/40/image_12122025_18_41_05_10623.jpg', 2), ('/home/nano/Desktop/images/12122025/18/40/image_12122025_18_40_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:42:02.306006 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/41/image_12122025_18_41_44_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/18/41/image_12122025_18_41_35_10621.jpg', 2), ('/home/nano/Desktop/images/12122025/18/41/image_12122025_18_41_24_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/18/41/image_12122025_18_41_15_9645.jpg', 2), ('/home/nano/Desktop/images/12122025/18/40/image_12122025_18_41_05_10623.jpg', 2), ('/home/nano/Desktop/images/12122025/18/40/image_12122025_18_40_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:42:31.834384 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/42/image_12122025_18_42_44_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/18/42/image_12122025_18_42_35_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/18/42/image_12122025_18_42_25_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/18/42/image_12122025_18_42_14_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/18/41/image_12122025_18_42_05_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/18/41/image_12122025_18_41_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:43:02.491831 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/42/image_12122025_18_42_44_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/18/42/image_12122025_18_42_35_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/18/42/image_12122025_18_42_25_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/18/42/image_12122025_18_42_14_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/18/41/image_12122025_18_42_05_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/18/41/image_12122025_18_41_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:43:31.917438 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/43/image_12122025_18_43_45_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/18/43/image_12122025_18_43_34_9648.jpg', 2), ('/home/nano/Desktop/images/12122025/18/43/image_12122025_18_43_25_9645.jpg', 2), ('/home/nano/Desktop/images/12122025/18/43/image_12122025_18_43_15_10640.jpg', 2), ('/home/nano/Desktop/images/12122025/18/42/image_12122025_18_43_04_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/18/42/image_12122025_18_42_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:44:02.739813 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/43/image_12122025_18_43_45_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/18/43/image_12122025_18_43_34_9648.jpg', 2), ('/home/nano/Desktop/images/12122025/18/43/image_12122025_18_43_25_9645.jpg', 2), ('/home/nano/Desktop/images/12122025/18/43/image_12122025_18_43_15_10640.jpg', 2), ('/home/nano/Desktop/images/12122025/18/42/image_12122025_18_43_04_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/18/42/image_12122025_18_42_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:44:32.015577 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/44/image_12122025_18_44_45_10664.jpg', 2), ('/home/nano/Desktop/images/12122025/18/44/image_12122025_18_44_34_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/18/44/image_12122025_18_44_25_9652.jpg', 2), ('/home/nano/Desktop/images/12122025/18/44/image_12122025_18_44_15_10675.jpg', 2), ('/home/nano/Desktop/images/12122025/18/43/image_12122025_18_44_04_9651.jpg', 2), ('/home/nano/Desktop/images/12122025/18/43/image_12122025_18_43_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:45:02.635984 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/44/image_12122025_18_44_45_10664.jpg', 2), ('/home/nano/Desktop/images/12122025/18/44/image_12122025_18_44_34_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/18/44/image_12122025_18_44_25_9652.jpg', 2), ('/home/nano/Desktop/images/12122025/18/44/image_12122025_18_44_15_10675.jpg', 2), ('/home/nano/Desktop/images/12122025/18/43/image_12122025_18_44_04_9651.jpg', 2), ('/home/nano/Desktop/images/12122025/18/43/image_12122025_18_43_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:45:32.125442 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/45/image_12122025_18_45_45_10650.jpg', 2), ('/home/nano/Desktop/images/12122025/18/45/image_12122025_18_45_34_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/18/45/image_12122025_18_45_25_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/18/45/image_12122025_18_45_15_10682.jpg', 2), ('/home/nano/Desktop/images/12122025/18/44/image_12122025_18_45_04_9653.jpg', 2), ('/home/nano/Desktop/images/12122025/18/44/image_12122025_18_44_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:46:02.817141 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/45/image_12122025_18_45_45_10650.jpg', 2), ('/home/nano/Desktop/images/12122025/18/45/image_12122025_18_45_34_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/18/45/image_12122025_18_45_25_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/18/45/image_12122025_18_45_15_10682.jpg', 2), ('/home/nano/Desktop/images/12122025/18/44/image_12122025_18_45_04_9653.jpg', 2), ('/home/nano/Desktop/images/12122025/18/44/image_12122025_18_44_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:46:32.259077 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/46/image_12122025_18_46_45_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/18/46/image_12122025_18_46_35_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/18/46/image_12122025_18_46_24_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/18/46/image_12122025_18_46_15_10642.jpg', 2), ('/home/nano/Desktop/images/12122025/18/45/image_12122025_18_46_04_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/18/45/image_12122025_18_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:47:02.974301 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/46/image_12122025_18_46_45_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/18/46/image_12122025_18_46_35_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/18/46/image_12122025_18_46_24_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/18/46/image_12122025_18_46_15_10642.jpg', 2), ('/home/nano/Desktop/images/12122025/18/45/image_12122025_18_46_04_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/18/45/image_12122025_18_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:47:32.342891 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/47/image_12122025_18_47_44_9614.jpg', 2), ('/home/nano/Desktop/images/12122025/18/47/image_12122025_18_47_35_10616.jpg', 2), ('/home/nano/Desktop/images/12122025/18/47/image_12122025_18_47_24_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/18/47/image_12122025_18_47_14_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/18/46/image_12122025_18_47_05_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/18/46/image_12122025_18_46_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:48:02.930306 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/47/image_12122025_18_47_44_9614.jpg', 2), ('/home/nano/Desktop/images/12122025/18/47/image_12122025_18_47_35_10616.jpg', 2), ('/home/nano/Desktop/images/12122025/18/47/image_12122025_18_47_24_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/18/47/image_12122025_18_47_14_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/18/46/image_12122025_18_47_05_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/18/46/image_12122025_18_46_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:48:32.462651 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/48/image_12122025_18_48_45_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/18/48/image_12122025_18_48_34_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/18/48/image_12122025_18_48_25_10618.jpg', 2), ('/home/nano/Desktop/images/12122025/18/47/image_12122025_18_48_05_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/18/47/image_12122025_18_47_55_10619.jpg', 2), ('/home/nano/Desktop/images/12122025/18/47/image_12122025_18_47_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:49:03.658551 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/48/image_12122025_18_48_45_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/18/48/image_12122025_18_48_34_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/18/48/image_12122025_18_48_25_10618.jpg', 2), ('/home/nano/Desktop/images/12122025/18/47/image_12122025_18_48_05_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/18/47/image_12122025_18_47_55_10619.jpg', 2), ('/home/nano/Desktop/images/12122025/18/47/image_12122025_18_47_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:49:32.603365 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/49/image_12122025_18_49_35_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/18/49/image_12122025_18_49_24_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/18/49/image_12122025_18_49_15_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/18/48/image_12122025_18_49_04_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/18/48/image_12122025_18_48_55_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/18/48/image_12122025_18_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:50:03.190860 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/49/image_12122025_18_49_35_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/18/49/image_12122025_18_49_24_9606.jpg', 2), ('/home/nano/Desktop/images/12122025/18/49/image_12122025_18_49_15_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/18/48/image_12122025_18_49_04_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/18/48/image_12122025_18_48_55_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/18/48/image_12122025_18_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:50:32.715051 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/50/image_12122025_18_50_44_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/18/50/image_12122025_18_50_35_10627.jpg', 2), ('/home/nano/Desktop/images/12122025/18/50/image_12122025_18_50_24_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/18/50/image_12122025_18_50_15_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/18/49/image_12122025_18_50_05_10640.jpg', 2), ('/home/nano/Desktop/images/12122025/18/49/image_12122025_18_49_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:51:02.568090 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/50/image_12122025_18_50_44_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/18/50/image_12122025_18_50_35_10627.jpg', 2), ('/home/nano/Desktop/images/12122025/18/50/image_12122025_18_50_24_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/18/50/image_12122025_18_50_15_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/18/49/image_12122025_18_50_05_10640.jpg', 2), ('/home/nano/Desktop/images/12122025/18/49/image_12122025_18_49_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:51:31.860253 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/51/image_12122025_18_51_44_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/18/51/image_12122025_18_51_34_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/18/51/image_12122025_18_51_25_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/18/51/image_12122025_18_51_14_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/18/50/image_12122025_18_51_05_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/18/50/image_12122025_18_50_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:52:02.364040 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/51/image_12122025_18_51_44_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/18/51/image_12122025_18_51_34_9608.jpg', 2), ('/home/nano/Desktop/images/12122025/18/51/image_12122025_18_51_25_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/18/51/image_12122025_18_51_14_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/18/50/image_12122025_18_51_05_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/18/50/image_12122025_18_50_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:52:31.960545 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/52/image_12122025_18_52_45_10648.jpg', 2), ('/home/nano/Desktop/images/12122025/18/52/image_12122025_18_52_34_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/18/52/image_12122025_18_52_25_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/18/52/image_12122025_18_52_15_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/18/51/image_12122025_18_52_04_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/18/51/image_12122025_18_51_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:53:02.685537 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/52/image_12122025_18_52_45_10648.jpg', 2), ('/home/nano/Desktop/images/12122025/18/52/image_12122025_18_52_34_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/18/52/image_12122025_18_52_25_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/18/52/image_12122025_18_52_15_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/18/51/image_12122025_18_52_04_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/18/51/image_12122025_18_51_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:53:32.059695 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/53/image_12122025_18_53_45_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/18/53/image_12122025_18_53_35_10640.jpg', 2), ('/home/nano/Desktop/images/12122025/18/53/image_12122025_18_53_24_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/18/53/image_12122025_18_53_15_10660.jpg', 2), ('/home/nano/Desktop/images/12122025/18/52/image_12122025_18_53_04_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/18/52/image_12122025_18_52_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:54:03.184766 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/53/image_12122025_18_53_45_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/18/53/image_12122025_18_53_35_10640.jpg', 2), ('/home/nano/Desktop/images/12122025/18/53/image_12122025_18_53_24_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/18/53/image_12122025_18_53_15_10660.jpg', 2), ('/home/nano/Desktop/images/12122025/18/52/image_12122025_18_53_04_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/18/52/image_12122025_18_52_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:54:32.247461 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/54/image_12122025_18_54_35_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/18/54/image_12122025_18_54_24_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/18/54/image_12122025_18_54_15_9632.jpg', 2), ('/home/nano/Desktop/images/12122025/18/53/image_12122025_18_54_05_10655.jpg', 2), ('/home/nano/Desktop/images/12122025/18/53/image_12122025_18_53_54_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/18/53/image_12122025_18_53_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:55:03.068481 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/54/image_12122025_18_54_35_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/18/54/image_12122025_18_54_24_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/18/54/image_12122025_18_54_15_9632.jpg', 2), ('/home/nano/Desktop/images/12122025/18/53/image_12122025_18_54_05_10655.jpg', 2), ('/home/nano/Desktop/images/12122025/18/53/image_12122025_18_53_54_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/18/53/image_12122025_18_53_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:55:32.307079 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/55/image_12122025_18_55_44_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/18/55/image_12122025_18_55_35_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/18/55/image_12122025_18_55_25_10637.jpg', 2), ('/home/nano/Desktop/images/12122025/18/55/image_12122025_18_55_14_9641.jpg', 2), ('/home/nano/Desktop/images/12122025/18/54/image_12122025_18_55_05_10653.jpg', 2), ('/home/nano/Desktop/images/12122025/18/54/image_12122025_18_54_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:56:03.047356 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/55/image_12122025_18_55_44_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/18/55/image_12122025_18_55_35_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/18/55/image_12122025_18_55_25_10637.jpg', 2), ('/home/nano/Desktop/images/12122025/18/55/image_12122025_18_55_14_9641.jpg', 2), ('/home/nano/Desktop/images/12122025/18/54/image_12122025_18_55_05_10653.jpg', 2), ('/home/nano/Desktop/images/12122025/18/54/image_12122025_18_54_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:56:32.497985 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/56/image_12122025_18_56_44_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/18/56/image_12122025_18_56_35_9644.jpg', 2), ('/home/nano/Desktop/images/12122025/18/56/image_12122025_18_56_25_10640.jpg', 2), ('/home/nano/Desktop/images/12122025/18/56/image_12122025_18_56_14_9647.jpg', 2), ('/home/nano/Desktop/images/12122025/18/55/image_12122025_18_55_55_10639.jpg', 2), ('/home/nano/Desktop/images/12122025/18/55/image_12122025_18_55_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:57:03.161167 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/56/image_12122025_18_56_44_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/18/56/image_12122025_18_56_35_9644.jpg', 2), ('/home/nano/Desktop/images/12122025/18/56/image_12122025_18_56_25_10640.jpg', 2), ('/home/nano/Desktop/images/12122025/18/56/image_12122025_18_56_14_9647.jpg', 2), ('/home/nano/Desktop/images/12122025/18/55/image_12122025_18_55_55_10639.jpg', 2), ('/home/nano/Desktop/images/12122025/18/55/image_12122025_18_55_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:57:32.605930 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/57/image_12122025_18_57_45_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/18/57/image_12122025_18_57_34_9644.jpg', 2), ('/home/nano/Desktop/images/12122025/18/57/image_12122025_18_57_25_10651.jpg', 2), ('/home/nano/Desktop/images/12122025/18/57/image_12122025_18_57_14_9661.jpg', 2), ('/home/nano/Desktop/images/12122025/18/56/image_12122025_18_57_04_9632.jpg', 2), ('/home/nano/Desktop/images/12122025/18/56/image_12122025_18_56_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:58:03.247419 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/57/image_12122025_18_57_45_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/18/57/image_12122025_18_57_34_9644.jpg', 2), ('/home/nano/Desktop/images/12122025/18/57/image_12122025_18_57_25_10651.jpg', 2), ('/home/nano/Desktop/images/12122025/18/57/image_12122025_18_57_14_9661.jpg', 2), ('/home/nano/Desktop/images/12122025/18/56/image_12122025_18_57_04_9632.jpg', 2), ('/home/nano/Desktop/images/12122025/18/56/image_12122025_18_56_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:59:03.761487 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/59/image_12122025_18_59_24_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/18/58/image_12122025_18_58_45_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/18/58/image_12122025_18_58_25_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/18/58/image_12122025_18_58_15_10649.jpg', 2), ('/home/nano/Desktop/images/12122025/18/57/image_12122025_18_58_04_9632.jpg', 2), ('/home/nano/Desktop/images/12122025/18/57/image_12122025_18_57_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 18:59:32.721173 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/59/image_12122025_18_59_45_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/18/59/image_12122025_18_59_35_10619.jpg', 2), ('/home/nano/Desktop/images/12122025/18/59/image_12122025_18_59_24_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/18/59/image_12122025_18_59_15_10650.jpg', 2), ('/home/nano/Desktop/images/12122025/18/58/image_12122025_18_59_04_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/18/58/image_12122025_18_58_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:00:02.298371 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/18/59/image_12122025_18_59_45_9610.jpg', 2), ('/home/nano/Desktop/images/12122025/18/59/image_12122025_18_59_35_10619.jpg', 2), ('/home/nano/Desktop/images/12122025/18/59/image_12122025_18_59_24_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/18/59/image_12122025_18_59_15_10650.jpg', 2), ('/home/nano/Desktop/images/12122025/18/58/image_12122025_18_59_04_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/18/58/image_12122025_18_58_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:00:31.782549 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/00/image_12122025_19_00_44_9645.jpg', 2), ('/home/nano/Desktop/images/12122025/19/00/image_12122025_19_00_35_9668.jpg', 2), ('/home/nano/Desktop/images/12122025/19/00/image_12122025_19_00_25_10643.jpg', 2), ('/home/nano/Desktop/images/12122025/19/00/image_12122025_19_00_14_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/18/59/image_12122025_19_00_05_10623.jpg', 2), ('/home/nano/Desktop/images/12122025/18/59/image_12122025_18_59_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:01:02.597913 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/00/image_12122025_19_00_44_9645.jpg', 2), ('/home/nano/Desktop/images/12122025/19/00/image_12122025_19_00_35_9668.jpg', 2), ('/home/nano/Desktop/images/12122025/19/00/image_12122025_19_00_25_10643.jpg', 2), ('/home/nano/Desktop/images/12122025/19/00/image_12122025_19_00_14_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/18/59/image_12122025_19_00_05_10623.jpg', 2), ('/home/nano/Desktop/images/12122025/18/59/image_12122025_18_59_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:01:31.989323 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/01/image_12122025_19_01_44_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/19/01/image_12122025_19_01_35_9611.jpg', 2), ('/home/nano/Desktop/images/12122025/19/01/image_12122025_19_01_25_10626.jpg', 2), ('/home/nano/Desktop/images/12122025/19/01/image_12122025_19_01_14_9643.jpg', 2), ('/home/nano/Desktop/images/12122025/19/00/image_12122025_19_01_05_10712.jpg', 2), ('/home/nano/Desktop/images/12122025/19/00/image_12122025_19_00_54_9678.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:02:02.603937 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/01/image_12122025_19_01_44_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/19/01/image_12122025_19_01_35_9611.jpg', 2), ('/home/nano/Desktop/images/12122025/19/01/image_12122025_19_01_25_10626.jpg', 2), ('/home/nano/Desktop/images/12122025/19/01/image_12122025_19_01_14_9643.jpg', 2), ('/home/nano/Desktop/images/12122025/19/00/image_12122025_19_01_05_10712.jpg', 2), ('/home/nano/Desktop/images/12122025/19/00/image_12122025_19_00_54_9678.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:02:32.072089 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/02/image_12122025_19_02_45_9667.jpg', 2), ('/home/nano/Desktop/images/12122025/19/02/image_12122025_19_02_35_9820.jpg', 2), ('/home/nano/Desktop/images/12122025/19/02/image_12122025_19_02_25_10680.jpg', 2), ('/home/nano/Desktop/images/12122025/19/02/image_12122025_19_02_14_9719.jpg', 2), ('/home/nano/Desktop/images/12122025/19/01/image_12122025_19_02_05_9726.jpg', 2), ('/home/nano/Desktop/images/12122025/19/01/image_12122025_19_01_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:03:02.748257 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/02/image_12122025_19_02_45_9667.jpg', 2), ('/home/nano/Desktop/images/12122025/19/02/image_12122025_19_02_35_9820.jpg', 2), ('/home/nano/Desktop/images/12122025/19/02/image_12122025_19_02_25_10680.jpg', 2), ('/home/nano/Desktop/images/12122025/19/02/image_12122025_19_02_14_9719.jpg', 2), ('/home/nano/Desktop/images/12122025/19/01/image_12122025_19_02_05_9726.jpg', 2), ('/home/nano/Desktop/images/12122025/19/01/image_12122025_19_01_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:03:32.138195 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/03/image_12122025_19_03_45_10670.jpg', 2), ('/home/nano/Desktop/images/12122025/19/03/image_12122025_19_03_34_9727.jpg', 2), ('/home/nano/Desktop/images/12122025/19/03/image_12122025_19_03_15_9708.jpg', 2), ('/home/nano/Desktop/images/12122025/19/02/image_12122025_19_03_05_10737.jpg', 2), ('/home/nano/Desktop/images/12122025/19/02/image_12122025_19_02_54_9722.jpg', 2), ('/home/nano/Desktop/images/12122025/19/02/image_12122025_19_02_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:04:03.129496 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/03/image_12122025_19_03_45_10670.jpg', 2), ('/home/nano/Desktop/images/12122025/19/03/image_12122025_19_03_34_9727.jpg', 2), ('/home/nano/Desktop/images/12122025/19/03/image_12122025_19_03_15_9708.jpg', 2), ('/home/nano/Desktop/images/12122025/19/02/image_12122025_19_03_05_10737.jpg', 2), ('/home/nano/Desktop/images/12122025/19/02/image_12122025_19_02_54_9722.jpg', 2), ('/home/nano/Desktop/images/12122025/19/02/image_12122025_19_02_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:04:32.264930 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/04/image_12122025_19_04_45_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/19/04/image_12122025_19_04_35_10616.jpg', 2), ('/home/nano/Desktop/images/12122025/19/04/image_12122025_19_04_24_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/19/04/image_12122025_19_04_15_10648.jpg', 2), ('/home/nano/Desktop/images/12122025/19/03/image_12122025_19_04_04_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/19/03/image_12122025_19_03_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:05:02.937712 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/04/image_12122025_19_04_45_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/19/04/image_12122025_19_04_35_10616.jpg', 2), ('/home/nano/Desktop/images/12122025/19/04/image_12122025_19_04_24_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/19/04/image_12122025_19_04_15_10648.jpg', 2), ('/home/nano/Desktop/images/12122025/19/03/image_12122025_19_04_04_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/19/03/image_12122025_19_03_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:05:32.370473 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/05/image_12122025_19_05_44_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/19/05/image_12122025_19_05_35_10663.jpg', 2), ('/home/nano/Desktop/images/12122025/19/05/image_12122025_19_05_24_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/19/05/image_12122025_19_05_14_9645.jpg', 2), ('/home/nano/Desktop/images/12122025/19/04/image_12122025_19_05_05_10653.jpg', 2), ('/home/nano/Desktop/images/12122025/19/04/image_12122025_19_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:06:02.987336 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/05/image_12122025_19_05_44_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/19/05/image_12122025_19_05_35_10663.jpg', 2), ('/home/nano/Desktop/images/12122025/19/05/image_12122025_19_05_24_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/19/05/image_12122025_19_05_14_9645.jpg', 2), ('/home/nano/Desktop/images/12122025/19/04/image_12122025_19_05_05_10653.jpg', 2), ('/home/nano/Desktop/images/12122025/19/04/image_12122025_19_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:06:32.464873 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/06/image_12122025_19_06_44_9643.jpg', 2), ('/home/nano/Desktop/images/12122025/19/06/image_12122025_19_06_34_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/19/06/image_12122025_19_06_25_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/19/06/image_12122025_19_06_14_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/19/05/image_12122025_19_06_05_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/19/05/image_12122025_19_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:07:03.288287 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/06/image_12122025_19_06_44_9643.jpg', 2), ('/home/nano/Desktop/images/12122025/19/06/image_12122025_19_06_34_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/19/06/image_12122025_19_06_25_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/19/06/image_12122025_19_06_14_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/19/05/image_12122025_19_06_05_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/19/05/image_12122025_19_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:07:32.613246 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/07/image_12122025_19_07_34_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/19/07/image_12122025_19_07_25_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/19/06/image_12122025_19_07_04_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/19/06/image_12122025_19_06_55_10728.jpg', 2), ('/home/nano/Desktop/images/12122025/19/06/image_12122025_19_06_44_9643.jpg', 2), ('/home/nano/Desktop/images/12122025/19/06/image_12122025_19_06_34_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:08:03.167572 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/07/image_12122025_19_07_34_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/19/07/image_12122025_19_07_25_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/19/06/image_12122025_19_07_04_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/19/06/image_12122025_19_06_55_10728.jpg', 2), ('/home/nano/Desktop/images/12122025/19/06/image_12122025_19_06_44_9643.jpg', 2), ('/home/nano/Desktop/images/12122025/19/06/image_12122025_19_06_34_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:08:32.689439 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/08/image_12122025_19_08_45_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/19/08/image_12122025_19_08_35_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/19/07/image_12122025_19_08_04_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/19/07/image_12122025_19_07_45_10606.jpg', 2), ('/home/nano/Desktop/images/12122025/19/07/image_12122025_19_07_34_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/19/07/image_12122025_19_07_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:09:02.780461 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/08/image_12122025_19_08_45_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/19/08/image_12122025_19_08_35_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/19/07/image_12122025_19_08_04_9612.jpg', 2), ('/home/nano/Desktop/images/12122025/19/07/image_12122025_19_07_45_10606.jpg', 2), ('/home/nano/Desktop/images/12122025/19/07/image_12122025_19_07_34_9604.jpg', 2), ('/home/nano/Desktop/images/12122025/19/07/image_12122025_19_07_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:09:31.753240 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/09/image_12122025_19_09_44_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/19/09/image_12122025_19_09_35_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/19/09/image_12122025_19_09_25_10616.jpg', 2), ('/home/nano/Desktop/images/12122025/19/09/image_12122025_19_09_14_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/19/08/image_12122025_19_09_05_10628.jpg', 2), ('/home/nano/Desktop/images/12122025/19/08/image_12122025_19_08_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:10:02.402384 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/09/image_12122025_19_09_44_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/19/09/image_12122025_19_09_35_9599.jpg', 2), ('/home/nano/Desktop/images/12122025/19/09/image_12122025_19_09_25_10616.jpg', 2), ('/home/nano/Desktop/images/12122025/19/09/image_12122025_19_09_14_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/19/08/image_12122025_19_09_05_10628.jpg', 2), ('/home/nano/Desktop/images/12122025/19/08/image_12122025_19_08_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:10:31.848489 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/10/image_12122025_19_10_45_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/19/10/image_12122025_19_10_34_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/19/10/image_12122025_19_10_25_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/19/10/image_12122025_19_10_14_9614.jpg', 2), ('/home/nano/Desktop/images/12122025/19/09/image_12122025_19_10_05_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/19/09/image_12122025_19_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:11:02.689741 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/10/image_12122025_19_10_45_10609.jpg', 2), ('/home/nano/Desktop/images/12122025/19/10/image_12122025_19_10_34_9592.jpg', 2), ('/home/nano/Desktop/images/12122025/19/10/image_12122025_19_10_25_10615.jpg', 2), ('/home/nano/Desktop/images/12122025/19/10/image_12122025_19_10_14_9614.jpg', 2), ('/home/nano/Desktop/images/12122025/19/09/image_12122025_19_10_05_9607.jpg', 2), ('/home/nano/Desktop/images/12122025/19/09/image_12122025_19_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:11:31.973437 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/11/image_12122025_19_11_45_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/19/11/image_12122025_19_11_35_10622.jpg', 2), ('/home/nano/Desktop/images/12122025/19/11/image_12122025_19_11_24_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/19/11/image_12122025_19_11_15_10641.jpg', 2), ('/home/nano/Desktop/images/12122025/19/10/image_12122025_19_11_04_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/19/10/image_12122025_19_10_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:12:02.682378 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/11/image_12122025_19_11_45_9605.jpg', 2), ('/home/nano/Desktop/images/12122025/19/11/image_12122025_19_11_35_10622.jpg', 2), ('/home/nano/Desktop/images/12122025/19/11/image_12122025_19_11_24_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/19/11/image_12122025_19_11_15_10641.jpg', 2), ('/home/nano/Desktop/images/12122025/19/10/image_12122025_19_11_04_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/19/10/image_12122025_19_10_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:12:32.062545 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/12/image_12122025_19_12_44_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/19/12/image_12122025_19_12_35_10610.jpg', 2), ('/home/nano/Desktop/images/12122025/19/12/image_12122025_19_12_24_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/19/12/image_12122025_19_12_14_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/19/11/image_12122025_19_12_05_10624.jpg', 2), ('/home/nano/Desktop/images/12122025/19/11/image_12122025_19_11_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:13:02.777011 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/12/image_12122025_19_12_44_9609.jpg', 2), ('/home/nano/Desktop/images/12122025/19/12/image_12122025_19_12_35_10610.jpg', 2), ('/home/nano/Desktop/images/12122025/19/12/image_12122025_19_12_24_9602.jpg', 2), ('/home/nano/Desktop/images/12122025/19/12/image_12122025_19_12_14_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/19/11/image_12122025_19_12_05_10624.jpg', 2), ('/home/nano/Desktop/images/12122025/19/11/image_12122025_19_11_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:13:32.225420 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/13/image_12122025_19_13_45_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/19/13/image_12122025_19_13_34_9616.jpg', 2), ('/home/nano/Desktop/images/12122025/19/13/image_12122025_19_13_25_10607.jpg', 2), ('/home/nano/Desktop/images/12122025/19/13/image_12122025_19_13_14_9634.jpg', 2), ('/home/nano/Desktop/images/12122025/19/12/image_12122025_19_13_05_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/19/12/image_12122025_19_12_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:14:03.235710 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/13/image_12122025_19_13_45_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/19/13/image_12122025_19_13_34_9616.jpg', 2), ('/home/nano/Desktop/images/12122025/19/13/image_12122025_19_13_25_10607.jpg', 2), ('/home/nano/Desktop/images/12122025/19/13/image_12122025_19_13_14_9634.jpg', 2), ('/home/nano/Desktop/images/12122025/19/12/image_12122025_19_13_05_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/19/12/image_12122025_19_12_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:14:32.287161 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/14/image_12122025_19_14_45_10605.jpg', 2), ('/home/nano/Desktop/images/12122025/19/14/image_12122025_19_14_34_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/19/14/image_12122025_19_14_25_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/19/14/image_12122025_19_14_15_10648.jpg', 2), ('/home/nano/Desktop/images/12122025/19/13/image_12122025_19_14_04_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/19/13/image_12122025_19_13_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:15:03.068732 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/14/image_12122025_19_14_45_10605.jpg', 2), ('/home/nano/Desktop/images/12122025/19/14/image_12122025_19_14_34_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/19/14/image_12122025_19_14_25_9597.jpg', 2), ('/home/nano/Desktop/images/12122025/19/14/image_12122025_19_14_15_10648.jpg', 2), ('/home/nano/Desktop/images/12122025/19/13/image_12122025_19_14_04_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/19/13/image_12122025_19_13_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:15:32.422431 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/15/image_12122025_19_15_44_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/19/15/image_12122025_19_15_35_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/19/15/image_12122025_19_15_24_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/19/15/image_12122025_19_15_15_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/19/14/image_12122025_19_15_05_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/19/14/image_12122025_19_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:16:02.786799 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/15/image_12122025_19_15_44_9603.jpg', 2), ('/home/nano/Desktop/images/12122025/19/15/image_12122025_19_15_35_10611.jpg', 2), ('/home/nano/Desktop/images/12122025/19/15/image_12122025_19_15_24_9596.jpg', 2), ('/home/nano/Desktop/images/12122025/19/15/image_12122025_19_15_15_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/19/14/image_12122025_19_15_05_10613.jpg', 2), ('/home/nano/Desktop/images/12122025/19/14/image_12122025_19_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:16:32.576820 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/16/image_12122025_19_16_45_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/19/16/image_12122025_19_16_25_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/19/16/image_12122025_19_16_14_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/19/15/image_12122025_19_16_05_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/19/15/image_12122025_19_15_55_10614.jpg', 2), ('/home/nano/Desktop/images/12122025/19/15/image_12122025_19_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:17:03.264231 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/17/image_12122025_19_17_45_10628.jpg', 2), ('/home/nano/Desktop/images/12122025/19/16/image_12122025_19_16_45_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/19/16/image_12122025_19_16_25_10612.jpg', 2), ('/home/nano/Desktop/images/12122025/19/16/image_12122025_19_16_14_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/19/15/image_12122025_19_16_05_9601.jpg', 2), ('/home/nano/Desktop/images/12122025/19/15/image_12122025_19_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:17:32.605844 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/17/image_12122025_19_17_45_10628.jpg', 2), ('/home/nano/Desktop/images/12122025/19/17/image_12122025_19_17_25_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/19/17/image_12122025_19_17_15_10647.jpg', 2), ('/home/nano/Desktop/images/12122025/19/16/image_12122025_19_17_04_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/19/16/image_12122025_19_16_55_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/19/16/image_12122025_19_16_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:18:03.159873 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/17/image_12122025_19_17_45_10628.jpg', 2), ('/home/nano/Desktop/images/12122025/19/17/image_12122025_19_17_25_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/19/17/image_12122025_19_17_15_10647.jpg', 2), ('/home/nano/Desktop/images/12122025/19/16/image_12122025_19_17_04_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/19/16/image_12122025_19_16_55_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/19/16/image_12122025_19_16_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:18:32.694889 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/18/image_12122025_19_18_35_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/19/18/image_12122025_19_18_15_9658.jpg', 2), ('/home/nano/Desktop/images/12122025/19/17/image_12122025_19_18_05_10637.jpg', 2), ('/home/nano/Desktop/images/12122025/19/17/image_12122025_19_17_45_10628.jpg', 2), ('/home/nano/Desktop/images/12122025/19/17/image_12122025_19_17_34_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/19/17/image_12122025_19_17_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:19:02.728757 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/18/image_12122025_19_18_35_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/19/18/image_12122025_19_18_15_9658.jpg', 2), ('/home/nano/Desktop/images/12122025/19/17/image_12122025_19_18_05_10637.jpg', 2), ('/home/nano/Desktop/images/12122025/19/17/image_12122025_19_17_45_10628.jpg', 2), ('/home/nano/Desktop/images/12122025/19/17/image_12122025_19_17_34_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/19/17/image_12122025_19_17_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:19:31.823443 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/19/image_12122025_19_19_44_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/19/19/image_12122025_19_19_24_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/19/19/image_12122025_19_19_15_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/19/18/image_12122025_19_19_05_10645.jpg', 2), ('/home/nano/Desktop/images/12122025/19/18/image_12122025_19_18_54_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/19/18/image_12122025_19_18_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:20:02.441436 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/19/image_12122025_19_19_44_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/19/19/image_12122025_19_19_24_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/19/19/image_12122025_19_19_15_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/19/18/image_12122025_19_19_05_10645.jpg', 2), ('/home/nano/Desktop/images/12122025/19/18/image_12122025_19_18_54_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/19/18/image_12122025_19_18_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:20:31.909151 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/20/image_12122025_19_20_44_9644.jpg', 2), ('/home/nano/Desktop/images/12122025/19/20/image_12122025_19_20_35_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/19/20/image_12122025_19_20_25_10626.jpg', 2), ('/home/nano/Desktop/images/12122025/19/19/image_12122025_19_20_05_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/19/19/image_12122025_19_19_55_10628.jpg', 2), ('/home/nano/Desktop/images/12122025/19/19/image_12122025_19_19_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:21:02.646609 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/20/image_12122025_19_20_44_9644.jpg', 2), ('/home/nano/Desktop/images/12122025/19/20/image_12122025_19_20_35_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/19/20/image_12122025_19_20_25_10626.jpg', 2), ('/home/nano/Desktop/images/12122025/19/19/image_12122025_19_20_05_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/19/19/image_12122025_19_19_55_10628.jpg', 2), ('/home/nano/Desktop/images/12122025/19/19/image_12122025_19_19_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:21:32.017323 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/21/image_12122025_19_21_45_10637.jpg', 2), ('/home/nano/Desktop/images/12122025/19/21/image_12122025_19_21_25_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/19/21/image_12122025_19_21_15_10644.jpg', 2), ('/home/nano/Desktop/images/12122025/19/20/image_12122025_19_21_04_9632.jpg', 2), ('/home/nano/Desktop/images/12122025/19/20/image_12122025_19_20_55_10623.jpg', 2), ('/home/nano/Desktop/images/12122025/19/20/image_12122025_19_20_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:22:02.744625 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/21/image_12122025_19_21_45_10637.jpg', 2), ('/home/nano/Desktop/images/12122025/19/21/image_12122025_19_21_25_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/19/21/image_12122025_19_21_15_10644.jpg', 2), ('/home/nano/Desktop/images/12122025/19/20/image_12122025_19_21_04_9632.jpg', 2), ('/home/nano/Desktop/images/12122025/19/20/image_12122025_19_20_55_10623.jpg', 2), ('/home/nano/Desktop/images/12122025/19/20/image_12122025_19_20_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:22:32.156358 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/22/image_12122025_19_22_45_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/19/22/image_12122025_19_22_34_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/19/22/image_12122025_19_22_24_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/19/22/image_12122025_19_22_15_10648.jpg', 2), ('/home/nano/Desktop/images/12122025/19/21/image_12122025_19_22_04_9633.jpg', 2), ('/home/nano/Desktop/images/12122025/19/21/image_12122025_19_21_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:23:03.033225 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/22/image_12122025_19_22_45_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/19/22/image_12122025_19_22_34_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/19/22/image_12122025_19_22_24_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/19/22/image_12122025_19_22_15_10648.jpg', 2), ('/home/nano/Desktop/images/12122025/19/21/image_12122025_19_22_04_9633.jpg', 2), ('/home/nano/Desktop/images/12122025/19/21/image_12122025_19_21_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:23:32.217833 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/23/image_12122025_19_23_35_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/19/23/image_12122025_19_23_24_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/19/23/image_12122025_19_23_15_9641.jpg', 2), ('/home/nano/Desktop/images/12122025/19/22/image_12122025_19_22_54_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/19/22/image_12122025_19_22_45_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/19/22/image_12122025_19_22_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:24:03.049348 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/23/image_12122025_19_23_35_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/19/23/image_12122025_19_23_24_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/19/23/image_12122025_19_23_15_9641.jpg', 2), ('/home/nano/Desktop/images/12122025/19/22/image_12122025_19_22_54_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/19/22/image_12122025_19_22_45_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/19/22/image_12122025_19_22_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:24:32.366044 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/24/image_12122025_19_24_44_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/19/24/image_12122025_19_24_35_9644.jpg', 2), ('/home/nano/Desktop/images/12122025/19/24/image_12122025_19_24_14_9656.jpg', 2), ('/home/nano/Desktop/images/12122025/19/23/image_12122025_19_24_05_10638.jpg', 2), ('/home/nano/Desktop/images/12122025/19/23/image_12122025_19_23_45_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/19/23/image_12122025_19_23_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:25:03.082196 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/24/image_12122025_19_24_44_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/19/24/image_12122025_19_24_35_9644.jpg', 2), ('/home/nano/Desktop/images/12122025/19/24/image_12122025_19_24_14_9656.jpg', 2), ('/home/nano/Desktop/images/12122025/19/23/image_12122025_19_24_05_10638.jpg', 2), ('/home/nano/Desktop/images/12122025/19/23/image_12122025_19_23_45_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/19/23/image_12122025_19_23_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:25:32.445192 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/25/image_12122025_19_25_34_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/19/25/image_12122025_19_25_25_10626.jpg', 2), ('/home/nano/Desktop/images/12122025/19/25/image_12122025_19_25_14_9634.jpg', 2), ('/home/nano/Desktop/images/12122025/19/24/image_12122025_19_24_55_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/19/24/image_12122025_19_24_44_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/19/24/image_12122025_19_24_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:26:03.076467 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/25/image_12122025_19_25_34_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/19/25/image_12122025_19_25_25_10626.jpg', 2), ('/home/nano/Desktop/images/12122025/19/25/image_12122025_19_25_14_9634.jpg', 2), ('/home/nano/Desktop/images/12122025/19/24/image_12122025_19_24_55_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/19/24/image_12122025_19_24_44_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/19/24/image_12122025_19_24_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:26:32.635597 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/26/image_12122025_19_26_55_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/19/26/image_12122025_19_26_25_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/19/26/image_12122025_19_26_15_10643.jpg', 2), ('/home/nano/Desktop/images/12122025/19/25/image_12122025_19_26_04_9641.jpg', 2), ('/home/nano/Desktop/images/12122025/19/25/image_12122025_19_25_44_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/19/25/image_12122025_19_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:27:03.177158 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/26/image_12122025_19_26_55_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/19/26/image_12122025_19_26_25_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/19/26/image_12122025_19_26_15_10643.jpg', 2), ('/home/nano/Desktop/images/12122025/19/25/image_12122025_19_26_04_9641.jpg', 2), ('/home/nano/Desktop/images/12122025/19/25/image_12122025_19_25_44_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/19/25/image_12122025_19_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:27:32.684754 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/27/image_12122025_19_27_34_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/19/27/image_12122025_19_27_15_10644.jpg', 2), ('/home/nano/Desktop/images/12122025/19/26/image_12122025_19_27_04_9632.jpg', 2), ('/home/nano/Desktop/images/12122025/19/26/image_12122025_19_26_55_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/19/26/image_12122025_19_26_34_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/19/26/image_12122025_19_26_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:28:02.310779 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/27/image_12122025_19_27_34_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/19/27/image_12122025_19_27_15_10644.jpg', 2), ('/home/nano/Desktop/images/12122025/19/26/image_12122025_19_27_04_9632.jpg', 2), ('/home/nano/Desktop/images/12122025/19/26/image_12122025_19_26_55_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/19/26/image_12122025_19_26_34_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/19/26/image_12122025_19_26_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:28:31.785132 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/28/image_12122025_19_28_24_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/19/28/image_12122025_19_28_15_9633.jpg', 2), ('/home/nano/Desktop/images/12122025/19/27/image_12122025_19_28_05_10653.jpg', 2), ('/home/nano/Desktop/images/12122025/19/27/image_12122025_19_27_45_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/19/27/image_12122025_19_27_34_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/19/27/image_12122025_19_27_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:29:02.932023 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/28/image_12122025_19_28_24_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/19/28/image_12122025_19_28_15_9633.jpg', 2), ('/home/nano/Desktop/images/12122025/19/27/image_12122025_19_28_05_10653.jpg', 2), ('/home/nano/Desktop/images/12122025/19/27/image_12122025_19_27_45_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/19/27/image_12122025_19_27_34_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/19/27/image_12122025_19_27_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:29:31.918022 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/29/image_12122025_19_29_35_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/19/29/image_12122025_19_29_25_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/19/29/image_12122025_19_29_14_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/19/28/image_12122025_19_29_05_10642.jpg', 2), ('/home/nano/Desktop/images/12122025/19/28/image_12122025_19_28_35_10627.jpg', 2), ('/home/nano/Desktop/images/12122025/19/28/image_12122025_19_28_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:30:02.599356 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/29/image_12122025_19_29_35_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/19/29/image_12122025_19_29_25_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/19/29/image_12122025_19_29_14_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/19/28/image_12122025_19_29_05_10642.jpg', 2), ('/home/nano/Desktop/images/12122025/19/28/image_12122025_19_28_35_10627.jpg', 2), ('/home/nano/Desktop/images/12122025/19/28/image_12122025_19_28_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:30:32.037961 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/30/image_12122025_19_30_34_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/19/30/image_12122025_19_30_25_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/19/30/image_12122025_19_30_14_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/19/29/image_12122025_19_30_05_9647.jpg', 2), ('/home/nano/Desktop/images/12122025/19/29/image_12122025_19_29_44_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/19/29/image_12122025_19_29_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:31:02.757385 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/30/image_12122025_19_30_34_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/19/30/image_12122025_19_30_25_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/19/30/image_12122025_19_30_14_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/19/29/image_12122025_19_30_05_9647.jpg', 2), ('/home/nano/Desktop/images/12122025/19/29/image_12122025_19_29_44_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/19/29/image_12122025_19_29_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:31:32.106355 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/31/image_12122025_19_31_34_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/19/31/image_12122025_19_31_25_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/19/31/image_12122025_19_31_15_10651.jpg', 2), ('/home/nano/Desktop/images/12122025/19/30/image_12122025_19_31_04_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/19/30/image_12122025_19_30_45_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/19/30/image_12122025_19_30_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:32:02.759549 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/31/image_12122025_19_31_34_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/19/31/image_12122025_19_31_25_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/19/31/image_12122025_19_31_15_10651.jpg', 2), ('/home/nano/Desktop/images/12122025/19/30/image_12122025_19_31_04_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/19/30/image_12122025_19_30_45_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/19/30/image_12122025_19_30_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:32:32.296456 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/32/image_12122025_19_32_35_10651.jpg', 2), ('/home/nano/Desktop/images/12122025/19/32/image_12122025_19_32_24_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/19/32/image_12122025_19_32_15_10649.jpg', 2), ('/home/nano/Desktop/images/12122025/19/31/image_12122025_19_32_04_9648.jpg', 2), ('/home/nano/Desktop/images/12122025/19/31/image_12122025_19_31_54_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/19/31/image_12122025_19_31_34_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:33:03.121598 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/32/image_12122025_19_32_35_10651.jpg', 2), ('/home/nano/Desktop/images/12122025/19/32/image_12122025_19_32_24_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/19/32/image_12122025_19_32_15_10649.jpg', 2), ('/home/nano/Desktop/images/12122025/19/31/image_12122025_19_32_04_9648.jpg', 2), ('/home/nano/Desktop/images/12122025/19/31/image_12122025_19_31_54_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/19/31/image_12122025_19_31_34_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:33:32.400105 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/33/image_12122025_19_33_44_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/19/33/image_12122025_19_33_24_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/19/33/image_12122025_19_33_15_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/19/32/image_12122025_19_32_45_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/19/32/image_12122025_19_32_35_10651.jpg', 2), ('/home/nano/Desktop/images/12122025/19/32/image_12122025_19_32_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:34:03.425871 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/33/image_12122025_19_33_44_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/19/33/image_12122025_19_33_24_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/19/33/image_12122025_19_33_15_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/19/32/image_12122025_19_32_45_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/19/32/image_12122025_19_32_35_10651.jpg', 2), ('/home/nano/Desktop/images/12122025/19/32/image_12122025_19_32_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:34:32.459666 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/34/image_12122025_19_34_44_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/19/34/image_12122025_19_34_35_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/19/34/image_12122025_19_34_25_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/19/34/image_12122025_19_34_14_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/19/33/image_12122025_19_34_05_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/19/33/image_12122025_19_33_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:35:03.084764 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/34/image_12122025_19_34_44_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/19/34/image_12122025_19_34_35_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/19/34/image_12122025_19_34_25_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/19/34/image_12122025_19_34_14_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/19/33/image_12122025_19_34_05_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/19/33/image_12122025_19_33_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:35:32.644593 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/35/image_12122025_19_35_34_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/19/35/image_12122025_19_35_25_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/19/35/image_12122025_19_35_14_9645.jpg', 2), ('/home/nano/Desktop/images/12122025/19/34/image_12122025_19_35_05_9634.jpg', 2), ('/home/nano/Desktop/images/12122025/19/34/image_12122025_19_34_55_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/19/34/image_12122025_19_34_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:36:03.161714 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/35/image_12122025_19_35_34_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/19/35/image_12122025_19_35_25_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/19/35/image_12122025_19_35_14_9645.jpg', 2), ('/home/nano/Desktop/images/12122025/19/34/image_12122025_19_35_05_9634.jpg', 2), ('/home/nano/Desktop/images/12122025/19/34/image_12122025_19_34_55_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/19/34/image_12122025_19_34_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:36:32.641068 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/36/image_12122025_19_36_34_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/19/36/image_12122025_19_36_25_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/19/36/image_12122025_19_36_15_10644.jpg', 2), ('/home/nano/Desktop/images/12122025/19/35/image_12122025_19_36_04_9631.jpg', 2), ('/home/nano/Desktop/images/12122025/19/35/image_12122025_19_35_55_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/19/35/image_12122025_19_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:37:02.477963 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/36/image_12122025_19_36_34_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/19/36/image_12122025_19_36_25_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/19/36/image_12122025_19_36_15_10644.jpg', 2), ('/home/nano/Desktop/images/12122025/19/35/image_12122025_19_36_04_9631.jpg', 2), ('/home/nano/Desktop/images/12122025/19/35/image_12122025_19_35_55_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/19/35/image_12122025_19_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:37:31.758283 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/37/image_12122025_19_37_45_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/19/37/image_12122025_19_37_35_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/19/37/image_12122025_19_37_15_9636.jpg', 2), ('/home/nano/Desktop/images/12122025/19/36/image_12122025_19_37_05_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/19/36/image_12122025_19_36_54_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/19/36/image_12122025_19_36_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:38:02.471068 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/37/image_12122025_19_37_45_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/19/37/image_12122025_19_37_35_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/19/37/image_12122025_19_37_15_9636.jpg', 2), ('/home/nano/Desktop/images/12122025/19/36/image_12122025_19_37_05_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/19/36/image_12122025_19_36_54_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/19/36/image_12122025_19_36_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:38:31.887781 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/38/image_12122025_19_38_44_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/19/38/image_12122025_19_38_35_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/19/38/image_12122025_19_38_24_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/19/38/image_12122025_19_38_14_9646.jpg', 2), ('/home/nano/Desktop/images/12122025/19/37/image_12122025_19_38_05_10637.jpg', 2), ('/home/nano/Desktop/images/12122025/19/37/image_12122025_19_37_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:39:03.118444 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/38/image_12122025_19_38_44_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/19/38/image_12122025_19_38_35_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/19/38/image_12122025_19_38_24_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/19/38/image_12122025_19_38_14_9646.jpg', 2), ('/home/nano/Desktop/images/12122025/19/37/image_12122025_19_38_05_10637.jpg', 2), ('/home/nano/Desktop/images/12122025/19/37/image_12122025_19_37_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:39:31.955862 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/39/image_12122025_19_39_44_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/19/39/image_12122025_19_39_35_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/19/39/image_12122025_19_39_25_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/19/39/image_12122025_19_39_14_9645.jpg', 2), ('/home/nano/Desktop/images/12122025/19/38/image_12122025_19_39_05_9647.jpg', 2), ('/home/nano/Desktop/images/12122025/19/38/image_12122025_19_38_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:40:02.582473 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/39/image_12122025_19_39_44_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/19/39/image_12122025_19_39_35_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/19/39/image_12122025_19_39_25_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/19/39/image_12122025_19_39_14_9645.jpg', 2), ('/home/nano/Desktop/images/12122025/19/38/image_12122025_19_39_05_9647.jpg', 2), ('/home/nano/Desktop/images/12122025/19/38/image_12122025_19_38_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:40:32.097084 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/40/image_12122025_19_40_34_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/19/40/image_12122025_19_40_14_9655.jpg', 2), ('/home/nano/Desktop/images/12122025/19/39/image_12122025_19_40_04_9636.jpg', 2), ('/home/nano/Desktop/images/12122025/19/39/image_12122025_19_39_55_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/19/39/image_12122025_19_39_44_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/19/39/image_12122025_19_39_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:41:02.882193 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/40/image_12122025_19_40_34_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/19/40/image_12122025_19_40_14_9655.jpg', 2), ('/home/nano/Desktop/images/12122025/19/39/image_12122025_19_40_04_9636.jpg', 2), ('/home/nano/Desktop/images/12122025/19/39/image_12122025_19_39_55_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/19/39/image_12122025_19_39_44_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/19/39/image_12122025_19_39_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:41:32.238983 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/41/image_12122025_19_41_45_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/19/41/image_12122025_19_41_34_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/19/41/image_12122025_19_41_25_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/19/41/image_12122025_19_41_15_10644.jpg', 2), ('/home/nano/Desktop/images/12122025/19/40/image_12122025_19_41_04_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/19/40/image_12122025_19_40_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:42:02.790840 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/41/image_12122025_19_41_45_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/19/41/image_12122025_19_41_34_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/19/41/image_12122025_19_41_25_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/19/41/image_12122025_19_41_15_10644.jpg', 2), ('/home/nano/Desktop/images/12122025/19/40/image_12122025_19_41_04_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/19/40/image_12122025_19_40_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:42:32.337538 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/42/image_12122025_19_42_45_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/19/42/image_12122025_19_42_35_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/19/42/image_12122025_19_42_24_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/19/42/image_12122025_19_42_15_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/19/41/image_12122025_19_42_05_10645.jpg', 2), ('/home/nano/Desktop/images/12122025/19/41/image_12122025_19_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:43:03.104653 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/42/image_12122025_19_42_45_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/19/42/image_12122025_19_42_35_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/19/42/image_12122025_19_42_24_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/19/42/image_12122025_19_42_15_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/19/41/image_12122025_19_42_05_10645.jpg', 2), ('/home/nano/Desktop/images/12122025/19/41/image_12122025_19_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:43:32.425094 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/43/image_12122025_19_43_44_9645.jpg', 2), ('/home/nano/Desktop/images/12122025/19/43/image_12122025_19_43_35_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/19/43/image_12122025_19_43_25_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/19/43/image_12122025_19_43_14_9648.jpg', 2), ('/home/nano/Desktop/images/12122025/19/42/image_12122025_19_43_05_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/19/42/image_12122025_19_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:44:03.392791 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/43/image_12122025_19_43_44_9645.jpg', 2), ('/home/nano/Desktop/images/12122025/19/43/image_12122025_19_43_35_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/19/43/image_12122025_19_43_25_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/19/43/image_12122025_19_43_14_9648.jpg', 2), ('/home/nano/Desktop/images/12122025/19/42/image_12122025_19_43_05_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/19/42/image_12122025_19_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:44:32.537591 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/44/image_12122025_19_44_44_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/19/44/image_12122025_19_44_35_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/19/44/image_12122025_19_44_25_10653.jpg', 2), ('/home/nano/Desktop/images/12122025/19/44/image_12122025_19_44_14_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/19/43/image_12122025_19_44_05_9632.jpg', 2), ('/home/nano/Desktop/images/12122025/19/43/image_12122025_19_43_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:45:03.420389 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/44/image_12122025_19_44_44_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/19/44/image_12122025_19_44_35_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/19/44/image_12122025_19_44_25_10653.jpg', 2), ('/home/nano/Desktop/images/12122025/19/44/image_12122025_19_44_14_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/19/43/image_12122025_19_44_05_9632.jpg', 2), ('/home/nano/Desktop/images/12122025/19/43/image_12122025_19_43_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:45:32.628483 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/45/image_12122025_19_45_45_10628.jpg', 2), ('/home/nano/Desktop/images/12122025/19/45/image_12122025_19_45_14_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/19/44/image_12122025_19_45_04_9643.jpg', 2), ('/home/nano/Desktop/images/12122025/19/44/image_12122025_19_44_55_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/19/44/image_12122025_19_44_44_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/19/44/image_12122025_19_44_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:46:03.313006 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/45/image_12122025_19_45_45_10628.jpg', 2), ('/home/nano/Desktop/images/12122025/19/45/image_12122025_19_45_14_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/19/44/image_12122025_19_45_04_9643.jpg', 2), ('/home/nano/Desktop/images/12122025/19/44/image_12122025_19_44_55_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/19/44/image_12122025_19_44_44_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/19/44/image_12122025_19_44_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:46:32.785299 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/46/image_12122025_19_46_45_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/19/46/image_12122025_19_46_34_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/19/46/image_12122025_19_46_24_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/19/46/image_12122025_19_46_15_10648.jpg', 2), ('/home/nano/Desktop/images/12122025/19/45/image_12122025_19_46_04_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/19/45/image_12122025_19_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:47:02.487438 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/46/image_12122025_19_46_45_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/19/46/image_12122025_19_46_34_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/19/46/image_12122025_19_46_24_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/19/46/image_12122025_19_46_15_10648.jpg', 2), ('/home/nano/Desktop/images/12122025/19/45/image_12122025_19_46_04_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/19/45/image_12122025_19_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:47:31.884741 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/47/image_12122025_19_47_45_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/19/47/image_12122025_19_47_35_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/19/47/image_12122025_19_47_24_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/19/47/image_12122025_19_47_15_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/19/46/image_12122025_19_46_54_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/19/46/image_12122025_19_46_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:48:02.467679 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/47/image_12122025_19_47_45_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/19/47/image_12122025_19_47_35_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/19/47/image_12122025_19_47_24_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/19/47/image_12122025_19_47_15_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/19/46/image_12122025_19_46_54_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/19/46/image_12122025_19_46_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:48:31.992866 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/48/image_12122025_19_48_24_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/19/48/image_12122025_19_48_14_9649.jpg', 2), ('/home/nano/Desktop/images/12122025/19/47/image_12122025_19_48_05_10644.jpg', 2), ('/home/nano/Desktop/images/12122025/19/47/image_12122025_19_47_54_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/19/47/image_12122025_19_47_45_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/19/47/image_12122025_19_47_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:49:03.030357 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/48/image_12122025_19_48_24_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/19/48/image_12122025_19_48_14_9649.jpg', 2), ('/home/nano/Desktop/images/12122025/19/47/image_12122025_19_48_05_10644.jpg', 2), ('/home/nano/Desktop/images/12122025/19/47/image_12122025_19_47_54_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/19/47/image_12122025_19_47_45_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/19/47/image_12122025_19_47_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:49:32.117144 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/49/image_12122025_19_49_44_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/19/49/image_12122025_19_49_25_10648.jpg', 2), ('/home/nano/Desktop/images/12122025/19/49/image_12122025_19_49_14_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/19/48/image_12122025_19_49_05_9636.jpg', 2), ('/home/nano/Desktop/images/12122025/19/48/image_12122025_19_48_44_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/19/48/image_12122025_19_48_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:50:02.627455 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/49/image_12122025_19_49_44_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/19/49/image_12122025_19_49_25_10648.jpg', 2), ('/home/nano/Desktop/images/12122025/19/49/image_12122025_19_49_14_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/19/48/image_12122025_19_49_05_9636.jpg', 2), ('/home/nano/Desktop/images/12122025/19/48/image_12122025_19_48_44_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/19/48/image_12122025_19_48_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:50:32.218396 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/50/image_12122025_19_50_45_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/19/50/image_12122025_19_50_34_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/19/50/image_12122025_19_50_25_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/19/50/image_12122025_19_50_15_10670.jpg', 2), ('/home/nano/Desktop/images/12122025/19/49/image_12122025_19_50_04_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/19/49/image_12122025_19_49_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:51:03.029125 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/50/image_12122025_19_50_45_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/19/50/image_12122025_19_50_34_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/19/50/image_12122025_19_50_25_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/19/50/image_12122025_19_50_15_10670.jpg', 2), ('/home/nano/Desktop/images/12122025/19/49/image_12122025_19_50_04_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/19/49/image_12122025_19_49_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:51:32.331682 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/51/image_12122025_19_51_34_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/19/51/image_12122025_19_51_25_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/19/51/image_12122025_19_51_15_10654.jpg', 2), ('/home/nano/Desktop/images/12122025/19/50/image_12122025_19_51_04_9641.jpg', 2), ('/home/nano/Desktop/images/12122025/19/50/image_12122025_19_50_55_9632.jpg', 2), ('/home/nano/Desktop/images/12122025/19/50/image_12122025_19_50_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:52:02.995324 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/51/image_12122025_19_51_34_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/19/51/image_12122025_19_51_25_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/19/51/image_12122025_19_51_15_10654.jpg', 2), ('/home/nano/Desktop/images/12122025/19/50/image_12122025_19_51_04_9641.jpg', 2), ('/home/nano/Desktop/images/12122025/19/50/image_12122025_19_50_55_9632.jpg', 2), ('/home/nano/Desktop/images/12122025/19/50/image_12122025_19_50_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:52:32.458728 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/52/image_12122025_19_52_45_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/19/52/image_12122025_19_52_35_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/19/52/image_12122025_19_52_24_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/19/52/image_12122025_19_52_15_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/19/51/image_12122025_19_52_05_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/19/51/image_12122025_19_51_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:53:03.322270 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/52/image_12122025_19_52_45_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/19/52/image_12122025_19_52_35_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/19/52/image_12122025_19_52_24_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/19/52/image_12122025_19_52_15_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/19/51/image_12122025_19_52_05_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/19/51/image_12122025_19_51_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:53:32.570242 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/53/image_12122025_19_53_35_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/19/53/image_12122025_19_53_25_10647.jpg', 2), ('/home/nano/Desktop/images/12122025/19/53/image_12122025_19_53_14_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/19/52/image_12122025_19_53_05_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/19/52/image_12122025_19_52_54_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/19/52/image_12122025_19_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:54:03.535280 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/53/image_12122025_19_53_35_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/19/53/image_12122025_19_53_25_10647.jpg', 2), ('/home/nano/Desktop/images/12122025/19/53/image_12122025_19_53_14_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/19/52/image_12122025_19_53_05_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/19/52/image_12122025_19_52_54_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/19/52/image_12122025_19_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:54:32.658527 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/54/image_12122025_19_54_25_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/19/53/image_12122025_19_53_44_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/19/53/image_12122025_19_53_35_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/19/53/image_12122025_19_53_25_10647.jpg', 2), ('/home/nano/Desktop/images/12122025/19/53/image_12122025_19_53_14_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/19/52/image_12122025_19_53_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:55:03.460940 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/54/image_12122025_19_54_25_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/19/53/image_12122025_19_53_44_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/19/53/image_12122025_19_53_35_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/19/53/image_12122025_19_53_25_10647.jpg', 2), ('/home/nano/Desktop/images/12122025/19/53/image_12122025_19_53_14_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/19/52/image_12122025_19_53_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:55:32.738505 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/55/image_12122025_19_55_45_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/19/55/image_12122025_19_55_34_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/19/55/image_12122025_19_55_25_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/19/55/image_12122025_19_55_15_10643.jpg', 2), ('/home/nano/Desktop/images/12122025/19/54/image_12122025_19_55_04_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/19/54/image_12122025_19_54_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:56:02.338548 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/55/image_12122025_19_55_45_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/19/55/image_12122025_19_55_34_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/19/55/image_12122025_19_55_25_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/19/55/image_12122025_19_55_15_10643.jpg', 2), ('/home/nano/Desktop/images/12122025/19/54/image_12122025_19_55_04_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/19/54/image_12122025_19_54_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:56:31.841776 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/56/image_12122025_19_56_35_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/19/56/image_12122025_19_56_15_10644.jpg', 2), ('/home/nano/Desktop/images/12122025/19/55/image_12122025_19_56_04_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/19/55/image_12122025_19_55_55_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/19/55/image_12122025_19_55_45_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/19/55/image_12122025_19_55_34_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:57:02.591812 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/56/image_12122025_19_56_35_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/19/56/image_12122025_19_56_15_10644.jpg', 2), ('/home/nano/Desktop/images/12122025/19/55/image_12122025_19_56_04_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/19/55/image_12122025_19_55_55_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/19/55/image_12122025_19_55_45_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/19/55/image_12122025_19_55_34_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:57:31.955985 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/57/image_12122025_19_57_44_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/19/56/image_12122025_19_57_05_10638.jpg', 2), ('/home/nano/Desktop/images/12122025/19/56/image_12122025_19_56_45_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/19/56/image_12122025_19_56_35_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/19/56/image_12122025_19_56_15_10644.jpg', 2), ('/home/nano/Desktop/images/12122025/19/55/image_12122025_19_56_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:58:02.452088 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/57/image_12122025_19_57_44_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/19/56/image_12122025_19_57_05_10638.jpg', 2), ('/home/nano/Desktop/images/12122025/19/56/image_12122025_19_56_45_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/19/56/image_12122025_19_56_35_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/19/56/image_12122025_19_56_15_10644.jpg', 2), ('/home/nano/Desktop/images/12122025/19/55/image_12122025_19_56_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:59:03.093832 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/57/image_12122025_19_57_44_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/19/56/image_12122025_19_57_05_10638.jpg', 2), ('/home/nano/Desktop/images/12122025/19/56/image_12122025_19_56_45_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/19/56/image_12122025_19_56_35_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/19/56/image_12122025_19_56_15_10644.jpg', 2), ('/home/nano/Desktop/images/12122025/19/55/image_12122025_19_56_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 19:59:31.974763 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/59/image_12122025_19_59_45_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/19/58/image_12122025_19_59_05_9650.jpg', 2), ('/home/nano/Desktop/images/12122025/19/58/image_12122025_19_58_55_10645.jpg', 2), ('/home/nano/Desktop/images/12122025/19/58/image_12122025_19_58_25_10628.jpg', 2), ('/home/nano/Desktop/images/12122025/19/58/image_12122025_19_58_14_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/19/57/image_12122025_19_57_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:00:02.462844 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/19/59/image_12122025_19_59_45_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/19/58/image_12122025_19_59_05_9650.jpg', 2), ('/home/nano/Desktop/images/12122025/19/58/image_12122025_19_58_55_10645.jpg', 2), ('/home/nano/Desktop/images/12122025/19/58/image_12122025_19_58_25_10628.jpg', 2), ('/home/nano/Desktop/images/12122025/19/58/image_12122025_19_58_14_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/19/57/image_12122025_19_57_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:00:32.031383 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/00/image_12122025_20_00_15_10671.jpg', 2), ('/home/nano/Desktop/images/12122025/19/59/image_12122025_20_00_04_9646.jpg', 2), ('/home/nano/Desktop/images/12122025/19/59/image_12122025_19_59_55_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/19/59/image_12122025_19_59_45_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/19/58/image_12122025_19_59_05_9650.jpg', 2), ('/home/nano/Desktop/images/12122025/19/58/image_12122025_19_58_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:01:02.721570 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/00/image_12122025_20_00_15_10671.jpg', 2), ('/home/nano/Desktop/images/12122025/19/59/image_12122025_20_00_04_9646.jpg', 2), ('/home/nano/Desktop/images/12122025/19/59/image_12122025_19_59_55_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/19/59/image_12122025_19_59_45_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/19/58/image_12122025_19_59_05_9650.jpg', 2), ('/home/nano/Desktop/images/12122025/19/58/image_12122025_19_58_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:01:32.148648 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/01/image_12122025_20_01_35_10625.jpg', 2), ('/home/nano/Desktop/images/12122025/20/01/image_12122025_20_01_15_10651.jpg', 2), ('/home/nano/Desktop/images/12122025/20/00/image_12122025_20_01_04_9641.jpg', 2), ('/home/nano/Desktop/images/12122025/20/00/image_12122025_20_00_25_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/20/00/image_12122025_20_00_15_10671.jpg', 2), ('/home/nano/Desktop/images/12122025/19/59/image_12122025_20_00_04_9646.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:02:02.680425 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/01/image_12122025_20_01_35_10625.jpg', 2), ('/home/nano/Desktop/images/12122025/20/01/image_12122025_20_01_15_10651.jpg', 2), ('/home/nano/Desktop/images/12122025/20/00/image_12122025_20_01_04_9641.jpg', 2), ('/home/nano/Desktop/images/12122025/20/00/image_12122025_20_00_25_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/20/00/image_12122025_20_00_15_10671.jpg', 2), ('/home/nano/Desktop/images/12122025/19/59/image_12122025_20_00_04_9646.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:02:32.221492 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/02/image_12122025_20_02_35_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/20/02/image_12122025_20_02_24_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/20/02/image_12122025_20_02_15_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/20/01/image_12122025_20_02_05_10645.jpg', 2), ('/home/nano/Desktop/images/12122025/20/01/image_12122025_20_01_45_9614.jpg', 2), ('/home/nano/Desktop/images/12122025/20/01/image_12122025_20_01_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:03:03.015221 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/02/image_12122025_20_02_35_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/20/02/image_12122025_20_02_24_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/20/02/image_12122025_20_02_15_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/20/01/image_12122025_20_02_05_10645.jpg', 2), ('/home/nano/Desktop/images/12122025/20/01/image_12122025_20_01_45_9614.jpg', 2), ('/home/nano/Desktop/images/12122025/20/01/image_12122025_20_01_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:03:32.315587 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/03/image_12122025_20_03_44_9641.jpg', 2), ('/home/nano/Desktop/images/12122025/20/03/image_12122025_20_03_35_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/20/02/image_12122025_20_02_44_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/20/02/image_12122025_20_02_35_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/20/02/image_12122025_20_02_24_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/20/02/image_12122025_20_02_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:04:03.377655 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/03/image_12122025_20_03_44_9641.jpg', 2), ('/home/nano/Desktop/images/12122025/20/03/image_12122025_20_03_35_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/20/02/image_12122025_20_02_44_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/20/02/image_12122025_20_02_35_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/20/02/image_12122025_20_02_24_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/20/02/image_12122025_20_02_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:04:32.510036 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/04/image_12122025_20_04_44_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/20/04/image_12122025_20_04_35_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/20/04/image_12122025_20_04_14_9655.jpg', 2), ('/home/nano/Desktop/images/12122025/20/03/image_12122025_20_04_05_9662.jpg', 2), ('/home/nano/Desktop/images/12122025/20/03/image_12122025_20_03_55_10648.jpg', 2), ('/home/nano/Desktop/images/12122025/20/03/image_12122025_20_03_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:05:03.311307 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/04/image_12122025_20_04_44_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/20/04/image_12122025_20_04_35_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/20/04/image_12122025_20_04_14_9655.jpg', 2), ('/home/nano/Desktop/images/12122025/20/03/image_12122025_20_04_05_9662.jpg', 2), ('/home/nano/Desktop/images/12122025/20/03/image_12122025_20_03_55_10648.jpg', 2), ('/home/nano/Desktop/images/12122025/20/03/image_12122025_20_03_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:05:32.563536 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/05/image_12122025_20_05_45_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/20/04/image_12122025_20_05_04_9647.jpg', 2), ('/home/nano/Desktop/images/12122025/20/04/image_12122025_20_04_55_10650.jpg', 2), ('/home/nano/Desktop/images/12122025/20/04/image_12122025_20_04_44_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/20/04/image_12122025_20_04_35_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/20/04/image_12122025_20_04_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:06:03.214158 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/05/image_12122025_20_05_45_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/20/04/image_12122025_20_05_04_9647.jpg', 2), ('/home/nano/Desktop/images/12122025/20/04/image_12122025_20_04_55_10650.jpg', 2), ('/home/nano/Desktop/images/12122025/20/04/image_12122025_20_04_44_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/20/04/image_12122025_20_04_35_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/20/04/image_12122025_20_04_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:06:32.767636 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/06/image_12122025_20_06_45_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/20/06/image_12122025_20_06_35_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/20/06/image_12122025_20_06_24_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/20/06/image_12122025_20_06_15_10644.jpg', 2), ('/home/nano/Desktop/images/12122025/20/05/image_12122025_20_05_55_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/20/05/image_12122025_20_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:07:02.253429 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/06/image_12122025_20_06_45_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/20/06/image_12122025_20_06_35_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/20/06/image_12122025_20_06_24_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/20/06/image_12122025_20_06_15_10644.jpg', 2), ('/home/nano/Desktop/images/12122025/20/05/image_12122025_20_05_55_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/20/05/image_12122025_20_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:07:31.777885 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/06/image_12122025_20_07_05_10642.jpg', 2), ('/home/nano/Desktop/images/12122025/20/06/image_12122025_20_06_54_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/20/06/image_12122025_20_06_45_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/20/06/image_12122025_20_06_35_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/20/06/image_12122025_20_06_24_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/20/06/image_12122025_20_06_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:08:02.367765 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/06/image_12122025_20_07_05_10642.jpg', 2), ('/home/nano/Desktop/images/12122025/20/06/image_12122025_20_06_54_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/20/06/image_12122025_20_06_45_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/20/06/image_12122025_20_06_35_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/20/06/image_12122025_20_06_24_9615.jpg', 2), ('/home/nano/Desktop/images/12122025/20/06/image_12122025_20_06_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:08:31.904510 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/08/image_12122025_20_08_14_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/20/07/image_12122025_20_07_15_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/20/06/image_12122025_20_07_05_10642.jpg', 2), ('/home/nano/Desktop/images/12122025/20/06/image_12122025_20_06_54_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/20/06/image_12122025_20_06_45_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/20/06/image_12122025_20_06_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:09:03.029617 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/08/image_12122025_20_08_14_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/20/07/image_12122025_20_07_15_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/20/06/image_12122025_20_07_05_10642.jpg', 2), ('/home/nano/Desktop/images/12122025/20/06/image_12122025_20_06_54_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/20/06/image_12122025_20_06_45_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/20/06/image_12122025_20_06_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:09:31.978636 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/09/image_12122025_20_09_45_10652.jpg', 2), ('/home/nano/Desktop/images/12122025/20/09/image_12122025_20_09_34_9616.jpg', 2), ('/home/nano/Desktop/images/12122025/20/09/image_12122025_20_09_25_10650.jpg', 2), ('/home/nano/Desktop/images/12122025/20/09/image_12122025_20_09_14_9632.jpg', 2), ('/home/nano/Desktop/images/12122025/20/08/image_12122025_20_09_04_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/20/08/image_12122025_20_08_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:10:02.642224 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/09/image_12122025_20_09_45_10652.jpg', 2), ('/home/nano/Desktop/images/12122025/20/09/image_12122025_20_09_34_9616.jpg', 2), ('/home/nano/Desktop/images/12122025/20/09/image_12122025_20_09_25_10650.jpg', 2), ('/home/nano/Desktop/images/12122025/20/09/image_12122025_20_09_14_9632.jpg', 2), ('/home/nano/Desktop/images/12122025/20/08/image_12122025_20_09_04_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/20/08/image_12122025_20_08_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:10:32.076458 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/10/image_12122025_20_10_45_10628.jpg', 2), ('/home/nano/Desktop/images/12122025/20/10/image_12122025_20_10_15_10656.jpg', 2), ('/home/nano/Desktop/images/12122025/20/09/image_12122025_20_10_04_9643.jpg', 2), ('/home/nano/Desktop/images/12122025/20/09/image_12122025_20_09_55_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/20/09/image_12122025_20_09_45_10652.jpg', 2), ('/home/nano/Desktop/images/12122025/20/09/image_12122025_20_09_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:11:02.678606 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/10/image_12122025_20_10_45_10628.jpg', 2), ('/home/nano/Desktop/images/12122025/20/10/image_12122025_20_10_15_10656.jpg', 2), ('/home/nano/Desktop/images/12122025/20/09/image_12122025_20_10_04_9643.jpg', 2), ('/home/nano/Desktop/images/12122025/20/09/image_12122025_20_09_55_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/20/09/image_12122025_20_09_45_10652.jpg', 2), ('/home/nano/Desktop/images/12122025/20/09/image_12122025_20_09_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:11:32.163473 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/11/image_12122025_20_11_15_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/20/10/image_12122025_20_11_05_10652.jpg', 2), ('/home/nano/Desktop/images/12122025/20/10/image_12122025_20_10_54_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/20/10/image_12122025_20_10_45_10628.jpg', 2), ('/home/nano/Desktop/images/12122025/20/10/image_12122025_20_10_15_10656.jpg', 2), ('/home/nano/Desktop/images/12122025/20/09/image_12122025_20_10_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:12:02.818957 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/11/image_12122025_20_11_15_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/20/10/image_12122025_20_11_05_10652.jpg', 2), ('/home/nano/Desktop/images/12122025/20/10/image_12122025_20_10_54_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/20/10/image_12122025_20_10_45_10628.jpg', 2), ('/home/nano/Desktop/images/12122025/20/10/image_12122025_20_10_15_10656.jpg', 2), ('/home/nano/Desktop/images/12122025/20/09/image_12122025_20_10_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:12:32.269298 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/12/image_12122025_20_12_44_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/20/12/image_12122025_20_12_35_10648.jpg', 2), ('/home/nano/Desktop/images/12122025/20/12/image_12122025_20_12_24_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/20/12/image_12122025_20_12_14_9634.jpg', 2), ('/home/nano/Desktop/images/12122025/20/11/image_12122025_20_11_24_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/20/11/image_12122025_20_11_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:13:03.108939 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/12/image_12122025_20_12_44_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/20/12/image_12122025_20_12_35_10648.jpg', 2), ('/home/nano/Desktop/images/12122025/20/12/image_12122025_20_12_24_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/20/12/image_12122025_20_12_14_9634.jpg', 2), ('/home/nano/Desktop/images/12122025/20/11/image_12122025_20_11_24_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/20/11/image_12122025_20_11_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:13:32.406727 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/13/image_12122025_20_13_25_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/20/12/image_12122025_20_13_05_9636.jpg', 2), ('/home/nano/Desktop/images/12122025/20/12/image_12122025_20_12_55_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/20/12/image_12122025_20_12_44_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/20/12/image_12122025_20_12_35_10648.jpg', 2), ('/home/nano/Desktop/images/12122025/20/12/image_12122025_20_12_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:14:03.370140 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/13/image_12122025_20_13_25_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/20/12/image_12122025_20_13_05_9636.jpg', 2), ('/home/nano/Desktop/images/12122025/20/12/image_12122025_20_12_55_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/20/12/image_12122025_20_12_44_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/20/12/image_12122025_20_12_35_10648.jpg', 2), ('/home/nano/Desktop/images/12122025/20/12/image_12122025_20_12_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:14:32.461198 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/14/image_12122025_20_14_45_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/20/14/image_12122025_20_14_34_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/20/13/image_12122025_20_14_04_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/20/13/image_12122025_20_13_55_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/20/13/image_12122025_20_13_25_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/20/12/image_12122025_20_13_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:15:03.152482 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/14/image_12122025_20_14_45_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/20/14/image_12122025_20_14_34_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/20/13/image_12122025_20_14_04_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/20/13/image_12122025_20_13_55_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/20/13/image_12122025_20_13_25_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/20/12/image_12122025_20_13_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:15:32.557047 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/15/image_12122025_20_15_45_10641.jpg', 2), ('/home/nano/Desktop/images/12122025/20/15/image_12122025_20_15_34_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/20/15/image_12122025_20_15_24_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/20/15/image_12122025_20_15_15_10647.jpg', 2), ('/home/nano/Desktop/images/12122025/20/14/image_12122025_20_15_04_9634.jpg', 2), ('/home/nano/Desktop/images/12122025/20/14/image_12122025_20_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:16:03.252771 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/15/image_12122025_20_15_45_10641.jpg', 2), ('/home/nano/Desktop/images/12122025/20/15/image_12122025_20_15_34_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/20/15/image_12122025_20_15_24_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/20/15/image_12122025_20_15_15_10647.jpg', 2), ('/home/nano/Desktop/images/12122025/20/14/image_12122025_20_15_04_9634.jpg', 2), ('/home/nano/Desktop/images/12122025/20/14/image_12122025_20_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:16:32.735322 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/16/image_12122025_20_16_24_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/20/16/image_12122025_20_16_15_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/20/15/image_12122025_20_16_05_10640.jpg', 2), ('/home/nano/Desktop/images/12122025/20/15/image_12122025_20_15_54_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/20/15/image_12122025_20_15_45_10641.jpg', 2), ('/home/nano/Desktop/images/12122025/20/15/image_12122025_20_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:17:02.687051 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/16/image_12122025_20_16_24_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/20/16/image_12122025_20_16_15_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/20/15/image_12122025_20_16_05_10640.jpg', 2), ('/home/nano/Desktop/images/12122025/20/15/image_12122025_20_15_54_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/20/15/image_12122025_20_15_45_10641.jpg', 2), ('/home/nano/Desktop/images/12122025/20/15/image_12122025_20_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:17:31.843211 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/17/image_12122025_20_17_35_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/20/17/image_12122025_20_17_14_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/20/16/image_12122025_20_17_05_10643.jpg', 2), ('/home/nano/Desktop/images/12122025/20/16/image_12122025_20_16_35_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/20/16/image_12122025_20_16_24_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/20/16/image_12122025_20_16_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:18:02.541059 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/17/image_12122025_20_17_35_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/20/17/image_12122025_20_17_14_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/20/16/image_12122025_20_17_05_10643.jpg', 2), ('/home/nano/Desktop/images/12122025/20/16/image_12122025_20_16_35_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/20/16/image_12122025_20_16_24_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/20/16/image_12122025_20_16_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:18:31.974946 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/18/image_12122025_20_18_45_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/20/18/image_12122025_20_18_34_9616.jpg', 2), ('/home/nano/Desktop/images/12122025/20/18/image_12122025_20_18_25_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/20/18/image_12122025_20_18_14_9631.jpg', 2), ('/home/nano/Desktop/images/12122025/20/17/image_12122025_20_18_05_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/20/17/image_12122025_20_17_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:19:03.012874 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/18/image_12122025_20_18_45_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/20/18/image_12122025_20_18_34_9616.jpg', 2), ('/home/nano/Desktop/images/12122025/20/18/image_12122025_20_18_25_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/20/18/image_12122025_20_18_14_9631.jpg', 2), ('/home/nano/Desktop/images/12122025/20/17/image_12122025_20_18_05_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/20/17/image_12122025_20_17_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:19:32.093639 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/19/image_12122025_20_19_45_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/20/19/image_12122025_20_19_34_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/20/19/image_12122025_20_19_25_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/20/19/image_12122025_20_19_15_10642.jpg', 2), ('/home/nano/Desktop/images/12122025/20/18/image_12122025_20_19_04_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/20/18/image_12122025_20_18_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:20:02.880277 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/19/image_12122025_20_19_45_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/20/19/image_12122025_20_19_34_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/20/19/image_12122025_20_19_25_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/20/19/image_12122025_20_19_15_10642.jpg', 2), ('/home/nano/Desktop/images/12122025/20/18/image_12122025_20_19_04_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/20/18/image_12122025_20_18_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:20:32.269302 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/20/image_12122025_20_20_35_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/20/20/image_12122025_20_20_24_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/20/20/image_12122025_20_20_15_10645.jpg', 2), ('/home/nano/Desktop/images/12122025/20/19/image_12122025_20_20_04_9645.jpg', 2), ('/home/nano/Desktop/images/12122025/20/19/image_12122025_20_19_55_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/20/19/image_12122025_20_19_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:21:03.002014 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/20/image_12122025_20_20_35_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/20/20/image_12122025_20_20_24_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/20/20/image_12122025_20_20_15_10645.jpg', 2), ('/home/nano/Desktop/images/12122025/20/19/image_12122025_20_20_04_9645.jpg', 2), ('/home/nano/Desktop/images/12122025/20/19/image_12122025_20_19_55_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/20/19/image_12122025_20_19_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:21:32.328785 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/21/image_12122025_20_21_44_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/20/21/image_12122025_20_21_24_9632.jpg', 2), ('/home/nano/Desktop/images/12122025/20/21/image_12122025_20_21_15_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/20/20/image_12122025_20_21_05_10641.jpg', 2), ('/home/nano/Desktop/images/12122025/20/20/image_12122025_20_20_45_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/20/20/image_12122025_20_20_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:22:02.979958 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/21/image_12122025_20_21_44_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/20/21/image_12122025_20_21_24_9632.jpg', 2), ('/home/nano/Desktop/images/12122025/20/21/image_12122025_20_21_15_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/20/20/image_12122025_20_21_05_10641.jpg', 2), ('/home/nano/Desktop/images/12122025/20/20/image_12122025_20_20_45_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/20/20/image_12122025_20_20_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:22:32.461421 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/21/image_12122025_20_22_05_10638.jpg', 2), ('/home/nano/Desktop/images/12122025/20/21/image_12122025_20_21_54_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/20/21/image_12122025_20_21_44_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/20/21/image_12122025_20_21_24_9632.jpg', 2), ('/home/nano/Desktop/images/12122025/20/21/image_12122025_20_21_15_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/20/20/image_12122025_20_21_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:23:03.406415 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/21/image_12122025_20_22_05_10638.jpg', 2), ('/home/nano/Desktop/images/12122025/20/21/image_12122025_20_21_54_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/20/21/image_12122025_20_21_44_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/20/21/image_12122025_20_21_24_9632.jpg', 2), ('/home/nano/Desktop/images/12122025/20/21/image_12122025_20_21_15_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/20/20/image_12122025_20_21_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:23:32.659893 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/23/image_12122025_20_23_45_10628.jpg', 2), ('/home/nano/Desktop/images/12122025/20/22/image_12122025_20_22_14_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/20/21/image_12122025_20_22_05_10638.jpg', 2), ('/home/nano/Desktop/images/12122025/20/21/image_12122025_20_21_54_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/20/21/image_12122025_20_21_44_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/20/21/image_12122025_20_21_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:24:03.454140 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/23/image_12122025_20_23_45_10628.jpg', 2), ('/home/nano/Desktop/images/12122025/20/22/image_12122025_20_22_14_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/20/21/image_12122025_20_22_05_10638.jpg', 2), ('/home/nano/Desktop/images/12122025/20/21/image_12122025_20_21_54_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/20/21/image_12122025_20_21_44_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/20/21/image_12122025_20_21_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:24:32.775080 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/24/image_12122025_20_24_34_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/20/23/image_12122025_20_23_55_9616.jpg', 2), ('/home/nano/Desktop/images/12122025/20/23/image_12122025_20_23_45_10628.jpg', 2), ('/home/nano/Desktop/images/12122025/20/22/image_12122025_20_22_14_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/20/21/image_12122025_20_22_05_10638.jpg', 2), ('/home/nano/Desktop/images/12122025/20/21/image_12122025_20_21_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:25:02.394125 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/24/image_12122025_20_24_34_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/20/23/image_12122025_20_23_55_9616.jpg', 2), ('/home/nano/Desktop/images/12122025/20/23/image_12122025_20_23_45_10628.jpg', 2), ('/home/nano/Desktop/images/12122025/20/22/image_12122025_20_22_14_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/20/21/image_12122025_20_22_05_10638.jpg', 2), ('/home/nano/Desktop/images/12122025/20/21/image_12122025_20_21_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:25:31.859125 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/25/image_12122025_20_25_45_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/20/25/image_12122025_20_25_35_10623.jpg', 2), ('/home/nano/Desktop/images/12122025/20/25/image_12122025_20_25_24_9616.jpg', 2), ('/home/nano/Desktop/images/12122025/20/25/image_12122025_20_25_15_9636.jpg', 2), ('/home/nano/Desktop/images/12122025/20/24/image_12122025_20_24_45_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/20/24/image_12122025_20_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:26:02.519427 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/25/image_12122025_20_25_45_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/20/25/image_12122025_20_25_35_10623.jpg', 2), ('/home/nano/Desktop/images/12122025/20/25/image_12122025_20_25_24_9616.jpg', 2), ('/home/nano/Desktop/images/12122025/20/25/image_12122025_20_25_15_9636.jpg', 2), ('/home/nano/Desktop/images/12122025/20/24/image_12122025_20_24_45_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/20/24/image_12122025_20_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:26:31.967814 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/26/image_12122025_20_26_44_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/20/26/image_12122025_20_26_35_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/20/26/image_12122025_20_26_25_10628.jpg', 2), ('/home/nano/Desktop/images/12122025/20/25/image_12122025_20_26_05_10640.jpg', 2), ('/home/nano/Desktop/images/12122025/20/25/image_12122025_20_25_54_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/20/25/image_12122025_20_25_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:27:02.719350 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/26/image_12122025_20_26_44_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/20/26/image_12122025_20_26_35_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/20/26/image_12122025_20_26_25_10628.jpg', 2), ('/home/nano/Desktop/images/12122025/20/25/image_12122025_20_26_05_10640.jpg', 2), ('/home/nano/Desktop/images/12122025/20/25/image_12122025_20_25_54_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/20/25/image_12122025_20_25_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:27:32.092301 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/27/image_12122025_20_27_45_10640.jpg', 2), ('/home/nano/Desktop/images/12122025/20/27/image_12122025_20_27_34_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/20/27/image_12122025_20_27_25_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/20/27/image_12122025_20_27_14_9634.jpg', 2), ('/home/nano/Desktop/images/12122025/20/26/image_12122025_20_27_05_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/20/26/image_12122025_20_26_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:28:02.685060 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/27/image_12122025_20_27_45_10640.jpg', 2), ('/home/nano/Desktop/images/12122025/20/27/image_12122025_20_27_34_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/20/27/image_12122025_20_27_25_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/20/27/image_12122025_20_27_14_9634.jpg', 2), ('/home/nano/Desktop/images/12122025/20/26/image_12122025_20_27_05_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/20/26/image_12122025_20_26_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:28:32.171742 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/28/image_12122025_20_28_45_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/20/28/image_12122025_20_28_25_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/20/28/image_12122025_20_28_15_10655.jpg', 2), ('/home/nano/Desktop/images/12122025/20/27/image_12122025_20_28_04_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/20/27/image_12122025_20_27_55_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/20/27/image_12122025_20_27_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:29:03.503299 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/28/image_12122025_20_28_45_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/20/28/image_12122025_20_28_25_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/20/28/image_12122025_20_28_15_10655.jpg', 2), ('/home/nano/Desktop/images/12122025/20/27/image_12122025_20_28_04_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/20/27/image_12122025_20_27_55_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/20/27/image_12122025_20_27_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:29:32.280231 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/29/image_12122025_20_29_24_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/20/29/image_12122025_20_29_15_10655.jpg', 2), ('/home/nano/Desktop/images/12122025/20/28/image_12122025_20_29_04_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/20/28/image_12122025_20_28_54_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/20/28/image_12122025_20_28_45_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/20/28/image_12122025_20_28_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:30:02.950502 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/29/image_12122025_20_29_24_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/20/29/image_12122025_20_29_15_10655.jpg', 2), ('/home/nano/Desktop/images/12122025/20/28/image_12122025_20_29_04_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/20/28/image_12122025_20_28_54_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/20/28/image_12122025_20_28_45_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/20/28/image_12122025_20_28_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:30:32.442419 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/30/image_12122025_20_30_44_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/20/30/image_12122025_20_30_15_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/20/29/image_12122025_20_30_05_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/20/29/image_12122025_20_29_35_10639.jpg', 2), ('/home/nano/Desktop/images/12122025/20/29/image_12122025_20_29_24_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/20/29/image_12122025_20_29_15_10655.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:31:03.162231 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/30/image_12122025_20_30_44_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/20/30/image_12122025_20_30_15_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/20/29/image_12122025_20_30_05_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/20/29/image_12122025_20_29_35_10639.jpg', 2), ('/home/nano/Desktop/images/12122025/20/29/image_12122025_20_29_24_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/20/29/image_12122025_20_29_15_10655.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:31:32.507301 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/31/image_12122025_20_31_44_9645.jpg', 2), ('/home/nano/Desktop/images/12122025/20/31/image_12122025_20_31_35_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/20/31/image_12122025_20_31_25_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/20/31/image_12122025_20_31_14_9644.jpg', 2), ('/home/nano/Desktop/images/12122025/20/30/image_12122025_20_31_05_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/20/30/image_12122025_20_30_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:32:03.191000 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/31/image_12122025_20_31_44_9645.jpg', 2), ('/home/nano/Desktop/images/12122025/20/31/image_12122025_20_31_35_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/20/31/image_12122025_20_31_25_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/20/31/image_12122025_20_31_14_9644.jpg', 2), ('/home/nano/Desktop/images/12122025/20/30/image_12122025_20_31_05_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/20/30/image_12122025_20_30_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:32:32.635161 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/32/image_12122025_20_32_45_10647.jpg', 2), ('/home/nano/Desktop/images/12122025/20/32/image_12122025_20_32_34_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/20/32/image_12122025_20_32_25_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/20/32/image_12122025_20_32_14_9659.jpg', 2), ('/home/nano/Desktop/images/12122025/20/31/image_12122025_20_32_05_9634.jpg', 2), ('/home/nano/Desktop/images/12122025/20/31/image_12122025_20_31_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:33:02.389173 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/32/image_12122025_20_32_45_10647.jpg', 2), ('/home/nano/Desktop/images/12122025/20/32/image_12122025_20_32_34_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/20/32/image_12122025_20_32_25_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/20/32/image_12122025_20_32_14_9659.jpg', 2), ('/home/nano/Desktop/images/12122025/20/31/image_12122025_20_32_05_9634.jpg', 2), ('/home/nano/Desktop/images/12122025/20/31/image_12122025_20_31_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:33:31.787815 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/33/image_12122025_20_33_45_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/20/33/image_12122025_20_33_34_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/20/32/image_12122025_20_33_04_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/20/32/image_12122025_20_32_55_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/20/32/image_12122025_20_32_45_10647.jpg', 2), ('/home/nano/Desktop/images/12122025/20/32/image_12122025_20_32_34_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:34:02.672665 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/33/image_12122025_20_33_45_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/20/33/image_12122025_20_33_34_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/20/32/image_12122025_20_33_04_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/20/32/image_12122025_20_32_55_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/20/32/image_12122025_20_32_45_10647.jpg', 2), ('/home/nano/Desktop/images/12122025/20/32/image_12122025_20_32_34_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:34:31.866679 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/34/image_12122025_20_34_35_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/20/34/image_12122025_20_34_15_10660.jpg', 2), ('/home/nano/Desktop/images/12122025/20/33/image_12122025_20_33_54_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/20/33/image_12122025_20_33_45_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/20/33/image_12122025_20_33_34_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/20/32/image_12122025_20_33_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:35:02.587202 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/34/image_12122025_20_34_35_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/20/34/image_12122025_20_34_15_10660.jpg', 2), ('/home/nano/Desktop/images/12122025/20/33/image_12122025_20_33_54_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/20/33/image_12122025_20_33_45_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/20/33/image_12122025_20_33_34_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/20/32/image_12122025_20_33_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:35:31.986044 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/35/image_12122025_20_35_44_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/20/35/image_12122025_20_35_24_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/20/35/image_12122025_20_35_15_9659.jpg', 2), ('/home/nano/Desktop/images/12122025/20/34/image_12122025_20_35_05_10654.jpg', 2), ('/home/nano/Desktop/images/12122025/20/34/image_12122025_20_34_54_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/20/34/image_12122025_20_34_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:36:02.594035 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/35/image_12122025_20_35_44_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/20/35/image_12122025_20_35_24_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/20/35/image_12122025_20_35_15_9659.jpg', 2), ('/home/nano/Desktop/images/12122025/20/34/image_12122025_20_35_05_10654.jpg', 2), ('/home/nano/Desktop/images/12122025/20/34/image_12122025_20_34_54_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/20/34/image_12122025_20_34_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:36:32.085454 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/36/image_12122025_20_36_35_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/20/36/image_12122025_20_36_25_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/20/35/image_12122025_20_35_54_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/20/35/image_12122025_20_35_44_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/20/35/image_12122025_20_35_24_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/20/35/image_12122025_20_35_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:37:02.954911 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/36/image_12122025_20_36_35_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/20/36/image_12122025_20_36_25_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/20/35/image_12122025_20_35_54_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/20/35/image_12122025_20_35_44_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/20/35/image_12122025_20_35_24_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/20/35/image_12122025_20_35_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:37:32.157289 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/37/image_12122025_20_37_45_10637.jpg', 2), ('/home/nano/Desktop/images/12122025/20/37/image_12122025_20_37_34_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/20/37/image_12122025_20_37_25_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/20/36/image_12122025_20_37_05_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/20/36/image_12122025_20_36_44_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/20/36/image_12122025_20_36_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:38:02.720539 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/37/image_12122025_20_37_45_10637.jpg', 2), ('/home/nano/Desktop/images/12122025/20/37/image_12122025_20_37_34_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/20/37/image_12122025_20_37_25_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/20/36/image_12122025_20_37_05_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/20/36/image_12122025_20_36_44_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/20/36/image_12122025_20_36_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:38:32.262554 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/38/image_12122025_20_38_45_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/20/38/image_12122025_20_38_34_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/20/38/image_12122025_20_38_25_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/20/38/image_12122025_20_38_15_10647.jpg', 2), ('/home/nano/Desktop/images/12122025/20/37/image_12122025_20_38_04_9646.jpg', 2), ('/home/nano/Desktop/images/12122025/20/37/image_12122025_20_37_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:39:03.293926 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/38/image_12122025_20_38_45_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/20/38/image_12122025_20_38_34_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/20/38/image_12122025_20_38_25_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/20/38/image_12122025_20_38_15_10647.jpg', 2), ('/home/nano/Desktop/images/12122025/20/37/image_12122025_20_38_04_9646.jpg', 2), ('/home/nano/Desktop/images/12122025/20/37/image_12122025_20_37_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:39:32.381484 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/39/image_12122025_20_39_35_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/20/39/image_12122025_20_39_24_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/20/39/image_12122025_20_39_15_10650.jpg', 2), ('/home/nano/Desktop/images/12122025/20/38/image_12122025_20_39_04_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/20/38/image_12122025_20_38_54_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/20/38/image_12122025_20_38_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:40:03.026909 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/39/image_12122025_20_39_35_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/20/39/image_12122025_20_39_24_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/20/39/image_12122025_20_39_15_10650.jpg', 2), ('/home/nano/Desktop/images/12122025/20/38/image_12122025_20_39_04_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/20/38/image_12122025_20_38_54_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/20/38/image_12122025_20_38_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:40:32.501283 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/40/image_12122025_20_40_44_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/20/40/image_12122025_20_40_35_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/20/40/image_12122025_20_40_24_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/20/40/image_12122025_20_40_15_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/20/39/image_12122025_20_40_05_10647.jpg', 2), ('/home/nano/Desktop/images/12122025/20/39/image_12122025_20_39_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:41:03.273962 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/40/image_12122025_20_40_44_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/20/40/image_12122025_20_40_35_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/20/40/image_12122025_20_40_24_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/20/40/image_12122025_20_40_15_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/20/39/image_12122025_20_40_05_10647.jpg', 2), ('/home/nano/Desktop/images/12122025/20/39/image_12122025_20_39_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:41:32.588188 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/41/image_12122025_20_41_35_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/20/41/image_12122025_20_41_14_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/20/40/image_12122025_20_41_05_9636.jpg', 2), ('/home/nano/Desktop/images/12122025/20/40/image_12122025_20_40_55_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/20/40/image_12122025_20_40_44_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/20/40/image_12122025_20_40_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:42:03.178141 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/41/image_12122025_20_41_35_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/20/41/image_12122025_20_41_14_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/20/40/image_12122025_20_41_05_9636.jpg', 2), ('/home/nano/Desktop/images/12122025/20/40/image_12122025_20_40_55_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/20/40/image_12122025_20_40_44_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/20/40/image_12122025_20_40_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:42:32.704786 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/42/image_12122025_20_42_25_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/20/42/image_12122025_20_42_14_9631.jpg', 2), ('/home/nano/Desktop/images/12122025/20/41/image_12122025_20_41_44_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/20/41/image_12122025_20_41_35_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/20/41/image_12122025_20_41_14_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/20/40/image_12122025_20_41_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:43:02.551077 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/42/image_12122025_20_42_25_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/20/42/image_12122025_20_42_14_9631.jpg', 2), ('/home/nano/Desktop/images/12122025/20/41/image_12122025_20_41_44_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/20/41/image_12122025_20_41_35_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/20/41/image_12122025_20_41_14_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/20/40/image_12122025_20_41_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:43:31.789661 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/42/image_12122025_20_43_04_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/20/42/image_12122025_20_42_34_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/20/42/image_12122025_20_42_25_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/20/42/image_12122025_20_42_14_9631.jpg', 2), ('/home/nano/Desktop/images/12122025/20/41/image_12122025_20_41_44_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/20/41/image_12122025_20_41_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:44:02.757424 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/42/image_12122025_20_43_04_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/20/42/image_12122025_20_42_34_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/20/42/image_12122025_20_42_25_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/20/42/image_12122025_20_42_14_9631.jpg', 2), ('/home/nano/Desktop/images/12122025/20/41/image_12122025_20_41_44_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/20/41/image_12122025_20_41_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:44:31.898575 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/44/image_12122025_20_44_45_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/20/44/image_12122025_20_44_35_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/20/44/image_12122025_20_44_24_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/20/43/image_12122025_20_43_15_10664.jpg', 2), ('/home/nano/Desktop/images/12122025/20/42/image_12122025_20_43_04_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/20/42/image_12122025_20_42_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:45:02.730592 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/44/image_12122025_20_44_45_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/20/44/image_12122025_20_44_35_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/20/44/image_12122025_20_44_24_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/20/43/image_12122025_20_43_15_10664.jpg', 2), ('/home/nano/Desktop/images/12122025/20/42/image_12122025_20_43_04_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/20/42/image_12122025_20_42_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:45:32.147402 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/45/image_12122025_20_45_14_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/20/44/image_12122025_20_45_05_10646.jpg', 2), ('/home/nano/Desktop/images/12122025/20/44/image_12122025_20_44_54_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/20/44/image_12122025_20_44_45_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/20/44/image_12122025_20_44_35_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/20/44/image_12122025_20_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:46:02.655900 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/45/image_12122025_20_45_14_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/20/44/image_12122025_20_45_05_10646.jpg', 2), ('/home/nano/Desktop/images/12122025/20/44/image_12122025_20_44_54_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/20/44/image_12122025_20_44_45_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/20/44/image_12122025_20_44_35_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/20/44/image_12122025_20_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:46:32.147731 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/46/image_12122025_20_46_14_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/20/45/image_12122025_20_46_05_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/20/45/image_12122025_20_45_55_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/20/45/image_12122025_20_45_14_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/20/44/image_12122025_20_45_05_10646.jpg', 2), ('/home/nano/Desktop/images/12122025/20/44/image_12122025_20_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:47:02.895612 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/46/image_12122025_20_46_14_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/20/45/image_12122025_20_46_05_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/20/45/image_12122025_20_45_55_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/20/45/image_12122025_20_45_14_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/20/44/image_12122025_20_45_05_10646.jpg', 2), ('/home/nano/Desktop/images/12122025/20/44/image_12122025_20_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:47:32.274646 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/46/image_12122025_20_46_14_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/20/45/image_12122025_20_46_05_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/20/45/image_12122025_20_45_55_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/20/45/image_12122025_20_45_14_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/20/44/image_12122025_20_45_05_10646.jpg', 2), ('/home/nano/Desktop/images/12122025/20/44/image_12122025_20_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:48:02.645162 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/46/image_12122025_20_46_14_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/20/45/image_12122025_20_46_05_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/20/45/image_12122025_20_45_55_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/20/45/image_12122025_20_45_14_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/20/44/image_12122025_20_45_05_10646.jpg', 2), ('/home/nano/Desktop/images/12122025/20/44/image_12122025_20_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:48:32.348020 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/48/image_12122025_20_48_34_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/20/48/image_12122025_20_48_25_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/20/46/image_12122025_20_46_25_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/20/46/image_12122025_20_46_14_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/20/45/image_12122025_20_46_05_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/20/45/image_12122025_20_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:49:03.437290 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/48/image_12122025_20_48_34_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/20/48/image_12122025_20_48_25_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/20/46/image_12122025_20_46_25_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/20/46/image_12122025_20_46_14_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/20/45/image_12122025_20_46_05_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/20/45/image_12122025_20_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:49:32.467576 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/49/image_12122025_20_49_45_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/20/49/image_12122025_20_49_35_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/20/49/image_12122025_20_49_24_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/20/49/image_12122025_20_49_15_10646.jpg', 2), ('/home/nano/Desktop/images/12122025/20/48/image_12122025_20_48_45_10650.jpg', 2), ('/home/nano/Desktop/images/12122025/20/48/image_12122025_20_48_34_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:50:02.883540 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/49/image_12122025_20_49_45_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/20/49/image_12122025_20_49_35_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/20/49/image_12122025_20_49_24_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/20/49/image_12122025_20_49_15_10646.jpg', 2), ('/home/nano/Desktop/images/12122025/20/48/image_12122025_20_48_45_10650.jpg', 2), ('/home/nano/Desktop/images/12122025/20/48/image_12122025_20_48_34_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:50:32.617434 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/49/image_12122025_20_49_54_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/20/49/image_12122025_20_49_45_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/20/49/image_12122025_20_49_35_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/20/49/image_12122025_20_49_24_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/20/49/image_12122025_20_49_15_10646.jpg', 2), ('/home/nano/Desktop/images/12122025/20/48/image_12122025_20_48_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:51:03.199288 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/49/image_12122025_20_49_54_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/20/49/image_12122025_20_49_45_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/20/49/image_12122025_20_49_35_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/20/49/image_12122025_20_49_24_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/20/49/image_12122025_20_49_15_10646.jpg', 2), ('/home/nano/Desktop/images/12122025/20/48/image_12122025_20_48_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:51:32.771371 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/49/image_12122025_20_50_05_10664.jpg', 2), ('/home/nano/Desktop/images/12122025/20/49/image_12122025_20_49_54_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/20/49/image_12122025_20_49_45_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/20/49/image_12122025_20_49_35_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/20/49/image_12122025_20_49_24_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/20/49/image_12122025_20_49_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:52:02.392009 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/49/image_12122025_20_50_05_10664.jpg', 2), ('/home/nano/Desktop/images/12122025/20/49/image_12122025_20_49_54_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/20/49/image_12122025_20_49_45_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/20/49/image_12122025_20_49_35_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/20/49/image_12122025_20_49_24_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/20/49/image_12122025_20_49_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:52:31.841048 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/52/image_12122025_20_52_25_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/20/51/image_12122025_20_52_04_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/20/51/image_12122025_20_51_55_10648.jpg', 2), ('/home/nano/Desktop/images/12122025/20/49/image_12122025_20_50_05_10664.jpg', 2), ('/home/nano/Desktop/images/12122025/20/49/image_12122025_20_49_54_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/20/49/image_12122025_20_49_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:53:02.586270 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/52/image_12122025_20_52_25_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/20/51/image_12122025_20_52_04_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/20/51/image_12122025_20_51_55_10648.jpg', 2), ('/home/nano/Desktop/images/12122025/20/49/image_12122025_20_50_05_10664.jpg', 2), ('/home/nano/Desktop/images/12122025/20/49/image_12122025_20_49_54_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/20/49/image_12122025_20_49_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:53:31.949064 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/53/image_12122025_20_53_25_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/20/53/image_12122025_20_53_15_10647.jpg', 2), ('/home/nano/Desktop/images/12122025/20/52/image_12122025_20_52_34_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/20/52/image_12122025_20_52_25_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/20/51/image_12122025_20_52_04_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/20/51/image_12122025_20_51_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:54:02.881215 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/53/image_12122025_20_53_25_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/20/53/image_12122025_20_53_15_10647.jpg', 2), ('/home/nano/Desktop/images/12122025/20/52/image_12122025_20_52_34_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/20/52/image_12122025_20_52_25_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/20/51/image_12122025_20_52_04_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/20/51/image_12122025_20_51_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:54:32.136635 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/54/image_12122025_20_54_45_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/20/54/image_12122025_20_54_35_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/20/54/image_12122025_20_54_24_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/20/54/image_12122025_20_54_15_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/20/53/image_12122025_20_53_54_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/20/53/image_12122025_20_53_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:55:02.787575 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/54/image_12122025_20_54_45_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/20/54/image_12122025_20_54_35_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/20/54/image_12122025_20_54_24_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/20/54/image_12122025_20_54_15_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/20/53/image_12122025_20_53_54_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/20/53/image_12122025_20_53_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:55:32.152534 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/54/image_12122025_20_55_05_10654.jpg', 2), ('/home/nano/Desktop/images/12122025/20/54/image_12122025_20_54_54_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/20/54/image_12122025_20_54_45_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/20/54/image_12122025_20_54_35_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/20/54/image_12122025_20_54_24_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/20/54/image_12122025_20_54_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:56:02.638898 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/54/image_12122025_20_55_05_10654.jpg', 2), ('/home/nano/Desktop/images/12122025/20/54/image_12122025_20_54_54_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/20/54/image_12122025_20_54_45_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/20/54/image_12122025_20_54_35_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/20/54/image_12122025_20_54_24_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/20/54/image_12122025_20_54_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:56:32.247157 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/56/image_12122025_20_56_35_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/20/56/image_12122025_20_56_25_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/20/55/image_12122025_20_56_05_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/20/55/image_12122025_20_55_55_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/20/54/image_12122025_20_55_05_10654.jpg', 2), ('/home/nano/Desktop/images/12122025/20/54/image_12122025_20_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:57:03.041465 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/56/image_12122025_20_56_35_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/20/56/image_12122025_20_56_25_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/20/55/image_12122025_20_56_05_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/20/55/image_12122025_20_55_55_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/20/54/image_12122025_20_55_05_10654.jpg', 2), ('/home/nano/Desktop/images/12122025/20/54/image_12122025_20_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:57:32.425748 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/57/image_12122025_20_57_45_10652.jpg', 2), ('/home/nano/Desktop/images/12122025/20/57/image_12122025_20_57_15_10644.jpg', 2), ('/home/nano/Desktop/images/12122025/20/56/image_12122025_20_57_04_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/20/56/image_12122025_20_56_55_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/20/56/image_12122025_20_56_35_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/20/56/image_12122025_20_56_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:58:03.073762 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/57/image_12122025_20_57_45_10652.jpg', 2), ('/home/nano/Desktop/images/12122025/20/57/image_12122025_20_57_15_10644.jpg', 2), ('/home/nano/Desktop/images/12122025/20/56/image_12122025_20_57_04_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/20/56/image_12122025_20_56_55_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/20/56/image_12122025_20_56_35_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/20/56/image_12122025_20_56_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:59:03.656488 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/58/image_12122025_20_58_34_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/20/58/image_12122025_20_58_25_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/20/58/image_12122025_20_58_15_10647.jpg', 2), ('/home/nano/Desktop/images/12122025/20/57/image_12122025_20_58_04_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/20/57/image_12122025_20_57_45_10652.jpg', 2), ('/home/nano/Desktop/images/12122025/20/57/image_12122025_20_57_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 20:59:32.607145 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/59/image_12122025_20_59_45_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/20/59/image_12122025_20_59_35_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/20/59/image_12122025_20_59_24_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/20/59/image_12122025_20_59_15_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/20/58/image_12122025_20_59_05_10652.jpg', 2), ('/home/nano/Desktop/images/12122025/20/58/image_12122025_20_58_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:00:03.322890 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/20/59/image_12122025_20_59_45_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/20/59/image_12122025_20_59_35_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/20/59/image_12122025_20_59_24_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/20/59/image_12122025_20_59_15_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/20/58/image_12122025_20_59_05_10652.jpg', 2), ('/home/nano/Desktop/images/12122025/20/58/image_12122025_20_58_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:00:32.715496 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/00/image_12122025_21_00_44_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/21/00/image_12122025_21_00_35_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/21/00/image_12122025_21_00_25_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/21/00/image_12122025_21_00_14_9634.jpg', 2), ('/home/nano/Desktop/images/12122025/20/59/image_12122025_21_00_05_10642.jpg', 2), ('/home/nano/Desktop/images/12122025/20/59/image_12122025_20_59_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:01:02.491406 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/00/image_12122025_21_00_44_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/21/00/image_12122025_21_00_35_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/21/00/image_12122025_21_00_25_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/21/00/image_12122025_21_00_14_9634.jpg', 2), ('/home/nano/Desktop/images/12122025/20/59/image_12122025_21_00_05_10642.jpg', 2), ('/home/nano/Desktop/images/12122025/20/59/image_12122025_20_59_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:01:31.822247 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/01/image_12122025_21_01_34_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/21/00/image_12122025_21_00_55_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/21/00/image_12122025_21_00_44_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/21/00/image_12122025_21_00_35_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/21/00/image_12122025_21_00_25_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/21/00/image_12122025_21_00_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:02:02.414843 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/01/image_12122025_21_01_34_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/21/00/image_12122025_21_00_55_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/21/00/image_12122025_21_00_44_9617.jpg', 2), ('/home/nano/Desktop/images/12122025/21/00/image_12122025_21_00_35_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/21/00/image_12122025_21_00_25_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/21/00/image_12122025_21_00_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:02:31.898857 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/02/image_12122025_21_02_45_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/21/02/image_12122025_21_02_34_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/21/02/image_12122025_21_02_25_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/21/02/image_12122025_21_02_15_10648.jpg', 2), ('/home/nano/Desktop/images/12122025/21/01/image_12122025_21_01_44_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/21/01/image_12122025_21_01_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:03:02.583129 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/02/image_12122025_21_02_45_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/21/02/image_12122025_21_02_34_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/21/02/image_12122025_21_02_25_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/21/02/image_12122025_21_02_15_10648.jpg', 2), ('/home/nano/Desktop/images/12122025/21/01/image_12122025_21_01_44_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/21/01/image_12122025_21_01_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:03:32.027076 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/02/image_12122025_21_02_45_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/21/02/image_12122025_21_02_34_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/21/02/image_12122025_21_02_25_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/21/02/image_12122025_21_02_15_10648.jpg', 2), ('/home/nano/Desktop/images/12122025/21/01/image_12122025_21_01_44_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/21/01/image_12122025_21_01_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:04:03.159345 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/02/image_12122025_21_02_45_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/21/02/image_12122025_21_02_34_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/21/02/image_12122025_21_02_25_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/21/02/image_12122025_21_02_15_10648.jpg', 2), ('/home/nano/Desktop/images/12122025/21/01/image_12122025_21_01_44_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/21/01/image_12122025_21_01_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:04:32.206370 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/04/image_12122025_21_04_35_10637.jpg', 2), ('/home/nano/Desktop/images/12122025/21/04/image_12122025_21_04_24_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/21/02/image_12122025_21_02_55_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/21/02/image_12122025_21_02_45_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/21/02/image_12122025_21_02_34_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/21/02/image_12122025_21_02_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:05:02.810035 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/04/image_12122025_21_04_35_10637.jpg', 2), ('/home/nano/Desktop/images/12122025/21/04/image_12122025_21_04_24_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/21/02/image_12122025_21_02_55_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/21/02/image_12122025_21_02_45_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/21/02/image_12122025_21_02_34_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/21/02/image_12122025_21_02_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:05:32.228814 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/05/image_12122025_21_05_44_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/21/05/image_12122025_21_05_35_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/21/05/image_12122025_21_05_25_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/21/05/image_12122025_21_05_14_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/21/04/image_12122025_21_04_54_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/21/04/image_12122025_21_04_35_10637.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:06:02.773103 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/05/image_12122025_21_05_44_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/21/05/image_12122025_21_05_35_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/21/05/image_12122025_21_05_25_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/21/05/image_12122025_21_05_14_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/21/04/image_12122025_21_04_54_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/21/04/image_12122025_21_04_35_10637.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:06:32.333400 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/06/image_12122025_21_06_55_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/21/06/image_12122025_21_06_25_10648.jpg', 2), ('/home/nano/Desktop/images/12122025/21/06/image_12122025_21_06_14_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/21/05/image_12122025_21_06_05_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/21/05/image_12122025_21_05_55_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/21/05/image_12122025_21_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:07:03.037807 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/06/image_12122025_21_06_55_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/21/06/image_12122025_21_06_25_10648.jpg', 2), ('/home/nano/Desktop/images/12122025/21/06/image_12122025_21_06_14_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/21/05/image_12122025_21_06_05_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/21/05/image_12122025_21_05_55_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/21/05/image_12122025_21_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:07:32.475052 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/07/image_12122025_21_07_45_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/21/07/image_12122025_21_07_15_10646.jpg', 2), ('/home/nano/Desktop/images/12122025/21/06/image_12122025_21_07_04_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/21/06/image_12122025_21_06_55_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/21/06/image_12122025_21_06_44_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/21/06/image_12122025_21_06_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:08:03.124700 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/07/image_12122025_21_07_45_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/21/07/image_12122025_21_07_15_10646.jpg', 2), ('/home/nano/Desktop/images/12122025/21/06/image_12122025_21_07_04_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/21/06/image_12122025_21_06_55_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/21/06/image_12122025_21_06_44_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/21/06/image_12122025_21_06_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:08:32.577127 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/08/image_12122025_21_08_15_10648.jpg', 2), ('/home/nano/Desktop/images/12122025/21/07/image_12122025_21_07_54_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/21/07/image_12122025_21_07_45_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/21/07/image_12122025_21_07_15_10646.jpg', 2), ('/home/nano/Desktop/images/12122025/21/06/image_12122025_21_07_04_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/21/06/image_12122025_21_06_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:09:03.744671 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/08/image_12122025_21_08_15_10648.jpg', 2), ('/home/nano/Desktop/images/12122025/21/07/image_12122025_21_07_54_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/21/07/image_12122025_21_07_45_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/21/07/image_12122025_21_07_15_10646.jpg', 2), ('/home/nano/Desktop/images/12122025/21/06/image_12122025_21_07_04_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/21/06/image_12122025_21_06_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:09:32.668272 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/09/image_12122025_21_09_44_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/21/09/image_12122025_21_09_24_9633.jpg', 2), ('/home/nano/Desktop/images/12122025/21/09/image_12122025_21_09_15_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/21/08/image_12122025_21_09_05_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/21/08/image_12122025_21_08_24_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/21/08/image_12122025_21_08_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:10:03.267473 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/09/image_12122025_21_09_44_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/21/09/image_12122025_21_09_24_9633.jpg', 2), ('/home/nano/Desktop/images/12122025/21/09/image_12122025_21_09_15_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/21/08/image_12122025_21_09_05_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/21/08/image_12122025_21_08_24_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/21/08/image_12122025_21_08_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:10:32.793847 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/10/image_12122025_21_10_35_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/21/10/image_12122025_21_10_25_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/21/10/image_12122025_21_10_14_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/21/09/image_12122025_21_10_05_9643.jpg', 2), ('/home/nano/Desktop/images/12122025/21/09/image_12122025_21_09_55_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/21/09/image_12122025_21_09_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:11:02.473698 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/10/image_12122025_21_10_35_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/21/10/image_12122025_21_10_25_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/21/10/image_12122025_21_10_14_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/21/09/image_12122025_21_10_05_9643.jpg', 2), ('/home/nano/Desktop/images/12122025/21/09/image_12122025_21_09_55_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/21/09/image_12122025_21_09_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:11:31.866910 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/11/image_12122025_21_11_25_10652.jpg', 2), ('/home/nano/Desktop/images/12122025/21/11/image_12122025_21_11_14_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/21/10/image_12122025_21_10_44_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/21/10/image_12122025_21_10_35_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/21/10/image_12122025_21_10_25_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/21/10/image_12122025_21_10_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:12:02.566686 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/11/image_12122025_21_11_25_10652.jpg', 2), ('/home/nano/Desktop/images/12122025/21/11/image_12122025_21_11_14_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/21/10/image_12122025_21_10_44_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/21/10/image_12122025_21_10_35_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/21/10/image_12122025_21_10_25_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/21/10/image_12122025_21_10_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:12:31.941813 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/12/image_12122025_21_12_15_10650.jpg', 2), ('/home/nano/Desktop/images/12122025/21/11/image_12122025_21_11_34_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/21/11/image_12122025_21_11_25_10652.jpg', 2), ('/home/nano/Desktop/images/12122025/21/11/image_12122025_21_11_14_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/21/10/image_12122025_21_10_44_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/21/10/image_12122025_21_10_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:13:02.776897 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/12/image_12122025_21_12_15_10650.jpg', 2), ('/home/nano/Desktop/images/12122025/21/11/image_12122025_21_11_34_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/21/11/image_12122025_21_11_25_10652.jpg', 2), ('/home/nano/Desktop/images/12122025/21/11/image_12122025_21_11_14_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/21/10/image_12122025_21_10_44_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/21/10/image_12122025_21_10_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:13:32.024026 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/13/image_12122025_21_13_35_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/21/13/image_12122025_21_13_24_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/21/12/image_12122025_21_13_04_9632.jpg', 2), ('/home/nano/Desktop/images/12122025/21/12/image_12122025_21_12_45_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/21/12/image_12122025_21_12_15_10650.jpg', 2), ('/home/nano/Desktop/images/12122025/21/11/image_12122025_21_11_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:14:02.903199 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/13/image_12122025_21_13_35_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/21/13/image_12122025_21_13_24_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/21/12/image_12122025_21_13_04_9632.jpg', 2), ('/home/nano/Desktop/images/12122025/21/12/image_12122025_21_12_45_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/21/12/image_12122025_21_12_15_10650.jpg', 2), ('/home/nano/Desktop/images/12122025/21/11/image_12122025_21_11_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:14:32.123295 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/14/image_12122025_21_14_24_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/21/14/image_12122025_21_14_15_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/21/13/image_12122025_21_14_05_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/21/13/image_12122025_21_13_54_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/21/13/image_12122025_21_13_35_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/21/13/image_12122025_21_13_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:15:02.904701 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/14/image_12122025_21_14_24_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/21/14/image_12122025_21_14_15_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/21/13/image_12122025_21_14_05_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/21/13/image_12122025_21_13_54_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/21/13/image_12122025_21_13_35_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/21/13/image_12122025_21_13_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:15:32.242837 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/14/image_12122025_21_14_24_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/21/14/image_12122025_21_14_15_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/21/13/image_12122025_21_14_05_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/21/13/image_12122025_21_13_54_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/21/13/image_12122025_21_13_35_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/21/13/image_12122025_21_13_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:16:02.896588 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/14/image_12122025_21_14_24_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/21/14/image_12122025_21_14_15_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/21/13/image_12122025_21_14_05_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/21/13/image_12122025_21_13_54_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/21/13/image_12122025_21_13_35_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/21/13/image_12122025_21_13_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:16:32.395786 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/15/image_12122025_21_16_05_9634.jpg', 2), ('/home/nano/Desktop/images/12122025/21/14/image_12122025_21_14_54_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/21/14/image_12122025_21_14_24_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/21/14/image_12122025_21_14_15_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/21/13/image_12122025_21_14_05_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/21/13/image_12122025_21_13_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:17:03.176734 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/15/image_12122025_21_16_05_9634.jpg', 2), ('/home/nano/Desktop/images/12122025/21/14/image_12122025_21_14_54_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/21/14/image_12122025_21_14_24_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/21/14/image_12122025_21_14_15_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/21/13/image_12122025_21_14_05_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/21/13/image_12122025_21_13_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:17:32.474483 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/17/image_12122025_21_17_45_10646.jpg', 2), ('/home/nano/Desktop/images/12122025/21/17/image_12122025_21_17_34_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/21/17/image_12122025_21_17_25_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/21/16/image_12122025_21_16_14_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/21/15/image_12122025_21_16_05_9634.jpg', 2), ('/home/nano/Desktop/images/12122025/21/14/image_12122025_21_14_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:18:03.093513 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/17/image_12122025_21_17_45_10646.jpg', 2), ('/home/nano/Desktop/images/12122025/21/17/image_12122025_21_17_34_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/21/17/image_12122025_21_17_25_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/21/16/image_12122025_21_16_14_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/21/15/image_12122025_21_16_05_9634.jpg', 2), ('/home/nano/Desktop/images/12122025/21/14/image_12122025_21_14_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:18:32.563966 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/18/image_12122025_21_18_45_9645.jpg', 2), ('/home/nano/Desktop/images/12122025/21/18/image_12122025_21_18_35_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/21/18/image_12122025_21_18_24_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/21/17/image_12122025_21_17_55_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/21/17/image_12122025_21_17_45_10646.jpg', 2), ('/home/nano/Desktop/images/12122025/21/17/image_12122025_21_17_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:19:03.721795 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/18/image_12122025_21_18_45_9645.jpg', 2), ('/home/nano/Desktop/images/12122025/21/18/image_12122025_21_18_35_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/21/18/image_12122025_21_18_24_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/21/17/image_12122025_21_17_55_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/21/17/image_12122025_21_17_45_10646.jpg', 2), ('/home/nano/Desktop/images/12122025/21/17/image_12122025_21_17_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:19:32.684398 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/19/image_12122025_21_19_44_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/21/19/image_12122025_21_19_35_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/21/19/image_12122025_21_19_24_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/21/19/image_12122025_21_19_15_9658.jpg', 2), ('/home/nano/Desktop/images/12122025/21/18/image_12122025_21_19_05_10657.jpg', 2), ('/home/nano/Desktop/images/12122025/21/18/image_12122025_21_18_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:20:02.258828 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/19/image_12122025_21_19_44_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/21/19/image_12122025_21_19_35_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/21/19/image_12122025_21_19_24_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/21/19/image_12122025_21_19_15_9658.jpg', 2), ('/home/nano/Desktop/images/12122025/21/18/image_12122025_21_19_05_10657.jpg', 2), ('/home/nano/Desktop/images/12122025/21/18/image_12122025_21_18_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:20:31.760060 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/20/image_12122025_21_20_44_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/21/20/image_12122025_21_20_35_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/21/20/image_12122025_21_20_25_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/21/19/image_12122025_21_20_05_10656.jpg', 2), ('/home/nano/Desktop/images/12122025/21/19/image_12122025_21_19_54_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/21/19/image_12122025_21_19_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:21:02.349711 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/20/image_12122025_21_20_44_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/21/20/image_12122025_21_20_35_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/21/20/image_12122025_21_20_25_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/21/19/image_12122025_21_20_05_10656.jpg', 2), ('/home/nano/Desktop/images/12122025/21/19/image_12122025_21_19_54_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/21/19/image_12122025_21_19_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:21:31.858526 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/21/image_12122025_21_21_25_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/21/20/image_12122025_21_21_05_9643.jpg', 2), ('/home/nano/Desktop/images/12122025/21/20/image_12122025_21_20_55_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/21/20/image_12122025_21_20_44_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/21/20/image_12122025_21_20_35_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/21/20/image_12122025_21_20_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:22:02.683918 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/21/image_12122025_21_21_25_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/21/20/image_12122025_21_21_05_9643.jpg', 2), ('/home/nano/Desktop/images/12122025/21/20/image_12122025_21_20_55_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/21/20/image_12122025_21_20_44_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/21/20/image_12122025_21_20_35_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/21/20/image_12122025_21_20_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:22:32.017083 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/22/image_12122025_21_22_34_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/21/22/image_12122025_21_22_25_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/21/22/image_12122025_21_22_15_10654.jpg', 2), ('/home/nano/Desktop/images/12122025/21/21/image_12122025_21_22_04_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/21/21/image_12122025_21_21_44_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/21/21/image_12122025_21_21_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:23:02.683670 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/22/image_12122025_21_22_34_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/21/22/image_12122025_21_22_25_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/21/22/image_12122025_21_22_15_10654.jpg', 2), ('/home/nano/Desktop/images/12122025/21/21/image_12122025_21_22_04_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/21/21/image_12122025_21_21_44_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/21/21/image_12122025_21_21_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:23:32.127341 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/23/image_12122025_21_23_45_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/21/23/image_12122025_21_23_15_10651.jpg', 2), ('/home/nano/Desktop/images/12122025/21/22/image_12122025_21_23_04_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/21/22/image_12122025_21_22_45_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/21/22/image_12122025_21_22_34_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/21/22/image_12122025_21_22_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:24:02.889274 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/23/image_12122025_21_23_45_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/21/23/image_12122025_21_23_15_10651.jpg', 2), ('/home/nano/Desktop/images/12122025/21/22/image_12122025_21_23_04_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/21/22/image_12122025_21_22_45_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/21/22/image_12122025_21_22_34_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/21/22/image_12122025_21_22_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:24:32.243234 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/24/image_12122025_21_24_44_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/21/24/image_12122025_21_24_35_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/21/24/image_12122025_21_24_24_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/21/23/image_12122025_21_23_54_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/21/23/image_12122025_21_23_45_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/21/23/image_12122025_21_23_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:25:03.041697 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/24/image_12122025_21_24_44_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/21/24/image_12122025_21_24_35_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/21/24/image_12122025_21_24_24_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/21/23/image_12122025_21_23_54_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/21/23/image_12122025_21_23_45_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/21/23/image_12122025_21_23_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:25:32.386526 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/25/image_12122025_21_25_44_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/21/25/image_12122025_21_25_35_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/21/25/image_12122025_21_25_25_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/21/25/image_12122025_21_25_14_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/21/24/image_12122025_21_25_05_10656.jpg', 2), ('/home/nano/Desktop/images/12122025/21/24/image_12122025_21_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:26:02.840595 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/25/image_12122025_21_25_44_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/21/25/image_12122025_21_25_35_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/21/25/image_12122025_21_25_25_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/21/25/image_12122025_21_25_14_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/21/24/image_12122025_21_25_05_10656.jpg', 2), ('/home/nano/Desktop/images/12122025/21/24/image_12122025_21_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:26:32.481028 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/26/image_12122025_21_26_44_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/21/26/image_12122025_21_26_34_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/21/26/image_12122025_21_26_25_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/21/26/image_12122025_21_26_14_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/21/25/image_12122025_21_26_05_9649.jpg', 2), ('/home/nano/Desktop/images/12122025/21/25/image_12122025_21_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:27:03.299273 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/26/image_12122025_21_26_44_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/21/26/image_12122025_21_26_34_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/21/26/image_12122025_21_26_25_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/21/26/image_12122025_21_26_14_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/21/25/image_12122025_21_26_05_9649.jpg', 2), ('/home/nano/Desktop/images/12122025/21/25/image_12122025_21_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:27:32.574453 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/27/image_12122025_21_27_34_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/21/27/image_12122025_21_27_25_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/21/27/image_12122025_21_27_15_10648.jpg', 2), ('/home/nano/Desktop/images/12122025/21/26/image_12122025_21_27_04_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/21/26/image_12122025_21_26_55_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/21/26/image_12122025_21_26_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:28:03.148046 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/27/image_12122025_21_27_34_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/21/27/image_12122025_21_27_25_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/21/27/image_12122025_21_27_15_10648.jpg', 2), ('/home/nano/Desktop/images/12122025/21/26/image_12122025_21_27_04_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/21/26/image_12122025_21_26_55_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/21/26/image_12122025_21_26_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:28:32.699476 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/28/image_12122025_21_28_24_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/21/28/image_12122025_21_28_15_10649.jpg', 2), ('/home/nano/Desktop/images/12122025/21/27/image_12122025_21_28_04_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/21/27/image_12122025_21_27_45_10648.jpg', 2), ('/home/nano/Desktop/images/12122025/21/27/image_12122025_21_27_34_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/21/27/image_12122025_21_27_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:29:02.807573 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/28/image_12122025_21_28_24_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/21/28/image_12122025_21_28_15_10649.jpg', 2), ('/home/nano/Desktop/images/12122025/21/27/image_12122025_21_28_04_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/21/27/image_12122025_21_27_45_10648.jpg', 2), ('/home/nano/Desktop/images/12122025/21/27/image_12122025_21_27_34_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/21/27/image_12122025_21_27_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:29:31.768160 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/29/image_12122025_21_29_35_10650.jpg', 2), ('/home/nano/Desktop/images/12122025/21/29/image_12122025_21_29_24_9641.jpg', 2), ('/home/nano/Desktop/images/12122025/21/29/image_12122025_21_29_15_9664.jpg', 2), ('/home/nano/Desktop/images/12122025/21/28/image_12122025_21_29_05_10664.jpg', 2), ('/home/nano/Desktop/images/12122025/21/28/image_12122025_21_28_54_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/21/28/image_12122025_21_28_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:30:02.525360 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/29/image_12122025_21_29_35_10650.jpg', 2), ('/home/nano/Desktop/images/12122025/21/29/image_12122025_21_29_24_9641.jpg', 2), ('/home/nano/Desktop/images/12122025/21/29/image_12122025_21_29_15_9664.jpg', 2), ('/home/nano/Desktop/images/12122025/21/28/image_12122025_21_29_05_10664.jpg', 2), ('/home/nano/Desktop/images/12122025/21/28/image_12122025_21_28_54_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/21/28/image_12122025_21_28_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:30:31.938370 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/30/image_12122025_21_30_35_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/21/30/image_12122025_21_30_24_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/21/30/image_12122025_21_30_14_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/21/29/image_12122025_21_29_45_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/21/29/image_12122025_21_29_35_10650.jpg', 2), ('/home/nano/Desktop/images/12122025/21/29/image_12122025_21_29_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:31:02.702101 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/30/image_12122025_21_30_35_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/21/30/image_12122025_21_30_24_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/21/30/image_12122025_21_30_14_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/21/29/image_12122025_21_29_45_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/21/29/image_12122025_21_29_35_10650.jpg', 2), ('/home/nano/Desktop/images/12122025/21/29/image_12122025_21_29_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:31:32.052092 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/31/image_12122025_21_31_25_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/21/30/image_12122025_21_30_44_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/21/30/image_12122025_21_30_35_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/21/30/image_12122025_21_30_24_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/21/30/image_12122025_21_30_14_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/21/29/image_12122025_21_29_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:32:02.726199 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/31/image_12122025_21_31_25_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/21/30/image_12122025_21_30_44_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/21/30/image_12122025_21_30_35_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/21/30/image_12122025_21_30_24_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/21/30/image_12122025_21_30_14_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/21/29/image_12122025_21_29_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:32:32.152922 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/31/image_12122025_21_32_04_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/21/31/image_12122025_21_31_35_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/21/31/image_12122025_21_31_25_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/21/30/image_12122025_21_30_44_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/21/30/image_12122025_21_30_35_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/21/30/image_12122025_21_30_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:33:02.893173 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/31/image_12122025_21_32_04_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/21/31/image_12122025_21_31_35_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/21/31/image_12122025_21_31_25_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/21/30/image_12122025_21_30_44_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/21/30/image_12122025_21_30_35_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/21/30/image_12122025_21_30_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:33:32.231412 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/33/image_12122025_21_33_45_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/21/33/image_12122025_21_33_34_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/21/33/image_12122025_21_33_24_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/21/33/image_12122025_21_33_15_10650.jpg', 2), ('/home/nano/Desktop/images/12122025/21/32/image_12122025_21_32_15_10650.jpg', 2), ('/home/nano/Desktop/images/12122025/21/31/image_12122025_21_32_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:34:03.113860 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/33/image_12122025_21_33_45_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/21/33/image_12122025_21_33_34_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/21/33/image_12122025_21_33_24_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/21/33/image_12122025_21_33_15_10650.jpg', 2), ('/home/nano/Desktop/images/12122025/21/32/image_12122025_21_32_15_10650.jpg', 2), ('/home/nano/Desktop/images/12122025/21/31/image_12122025_21_32_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:34:32.359827 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/34/image_12122025_21_34_45_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/21/34/image_12122025_21_34_35_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/21/34/image_12122025_21_34_24_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/21/34/image_12122025_21_34_15_9655.jpg', 2), ('/home/nano/Desktop/images/12122025/21/33/image_12122025_21_34_05_10645.jpg', 2), ('/home/nano/Desktop/images/12122025/21/33/image_12122025_21_33_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:35:03.254278 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/34/image_12122025_21_34_45_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/21/34/image_12122025_21_34_35_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/21/34/image_12122025_21_34_24_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/21/34/image_12122025_21_34_15_9655.jpg', 2), ('/home/nano/Desktop/images/12122025/21/33/image_12122025_21_34_05_10645.jpg', 2), ('/home/nano/Desktop/images/12122025/21/33/image_12122025_21_33_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:35:32.452820 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/35/image_12122025_21_35_44_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/21/35/image_12122025_21_35_35_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/21/34/image_12122025_21_35_05_10641.jpg', 2), ('/home/nano/Desktop/images/12122025/21/34/image_12122025_21_34_54_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/21/34/image_12122025_21_34_45_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/21/34/image_12122025_21_34_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:36:02.942078 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/35/image_12122025_21_35_44_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/21/35/image_12122025_21_35_35_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/21/34/image_12122025_21_35_05_10641.jpg', 2), ('/home/nano/Desktop/images/12122025/21/34/image_12122025_21_34_54_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/21/34/image_12122025_21_34_45_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/21/34/image_12122025_21_34_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:36:32.554063 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/35/image_12122025_21_35_55_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/21/35/image_12122025_21_35_44_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/21/35/image_12122025_21_35_35_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/21/34/image_12122025_21_35_05_10641.jpg', 2), ('/home/nano/Desktop/images/12122025/21/34/image_12122025_21_34_54_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/21/34/image_12122025_21_34_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:37:03.359015 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/35/image_12122025_21_35_55_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/21/35/image_12122025_21_35_44_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/21/35/image_12122025_21_35_35_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/21/34/image_12122025_21_35_05_10641.jpg', 2), ('/home/nano/Desktop/images/12122025/21/34/image_12122025_21_34_54_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/21/34/image_12122025_21_34_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:37:32.768977 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/37/image_12122025_21_37_25_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/21/37/image_12122025_21_37_15_10653.jpg', 2), ('/home/nano/Desktop/images/12122025/21/36/image_12122025_21_37_04_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/21/35/image_12122025_21_36_05_9656.jpg', 2), ('/home/nano/Desktop/images/12122025/21/35/image_12122025_21_35_55_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/21/35/image_12122025_21_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:38:02.459231 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/37/image_12122025_21_37_25_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/21/37/image_12122025_21_37_15_10653.jpg', 2), ('/home/nano/Desktop/images/12122025/21/36/image_12122025_21_37_04_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/21/35/image_12122025_21_36_05_9656.jpg', 2), ('/home/nano/Desktop/images/12122025/21/35/image_12122025_21_35_55_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/21/35/image_12122025_21_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:38:31.916281 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/37/image_12122025_21_38_04_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/21/37/image_12122025_21_37_34_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/21/37/image_12122025_21_37_25_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/21/37/image_12122025_21_37_15_10653.jpg', 2), ('/home/nano/Desktop/images/12122025/21/36/image_12122025_21_37_04_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/21/35/image_12122025_21_36_05_9656.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:39:03.074029 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/37/image_12122025_21_38_04_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/21/37/image_12122025_21_37_34_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/21/37/image_12122025_21_37_25_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/21/37/image_12122025_21_37_15_10653.jpg', 2), ('/home/nano/Desktop/images/12122025/21/36/image_12122025_21_37_04_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/21/35/image_12122025_21_36_05_9656.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:39:31.990178 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/39/image_12122025_21_39_45_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/21/39/image_12122025_21_39_35_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/21/39/image_12122025_21_39_24_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/21/38/image_12122025_21_38_15_10650.jpg', 2), ('/home/nano/Desktop/images/12122025/21/37/image_12122025_21_38_04_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/21/37/image_12122025_21_37_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:40:02.636082 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/39/image_12122025_21_39_45_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/21/39/image_12122025_21_39_35_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/21/39/image_12122025_21_39_24_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/21/38/image_12122025_21_38_15_10650.jpg', 2), ('/home/nano/Desktop/images/12122025/21/37/image_12122025_21_38_04_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/21/37/image_12122025_21_37_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:40:32.098870 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/40/image_12122025_21_40_35_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/21/40/image_12122025_21_40_24_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/21/40/image_12122025_21_40_14_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/21/39/image_12122025_21_39_54_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/21/39/image_12122025_21_39_45_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/21/39/image_12122025_21_39_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:41:02.913371 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/40/image_12122025_21_40_35_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/21/40/image_12122025_21_40_24_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/21/40/image_12122025_21_40_14_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/21/39/image_12122025_21_39_54_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/21/39/image_12122025_21_39_45_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/21/39/image_12122025_21_39_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:41:32.191121 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/41/image_12122025_21_41_44_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/21/41/image_12122025_21_41_35_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/21/41/image_12122025_21_41_25_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/21/41/image_12122025_21_41_14_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/21/40/image_12122025_21_40_44_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/21/40/image_12122025_21_40_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:42:02.780379 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/41/image_12122025_21_41_44_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/21/41/image_12122025_21_41_35_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/21/41/image_12122025_21_41_25_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/21/41/image_12122025_21_41_14_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/21/40/image_12122025_21_40_44_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/21/40/image_12122025_21_40_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:42:32.281928 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/42/image_12122025_21_42_34_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/21/41/image_12122025_21_42_04_9648.jpg', 2), ('/home/nano/Desktop/images/12122025/21/41/image_12122025_21_41_55_10650.jpg', 2), ('/home/nano/Desktop/images/12122025/21/41/image_12122025_21_41_44_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/21/41/image_12122025_21_41_35_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/21/41/image_12122025_21_41_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:43:03.149625 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/42/image_12122025_21_42_34_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/21/41/image_12122025_21_42_04_9648.jpg', 2), ('/home/nano/Desktop/images/12122025/21/41/image_12122025_21_41_55_10650.jpg', 2), ('/home/nano/Desktop/images/12122025/21/41/image_12122025_21_41_44_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/21/41/image_12122025_21_41_35_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/21/41/image_12122025_21_41_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:43:32.360650 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/43/image_12122025_21_43_15_10654.jpg', 2), ('/home/nano/Desktop/images/12122025/21/42/image_12122025_21_43_04_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/21/42/image_12122025_21_42_45_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/21/42/image_12122025_21_42_34_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/21/41/image_12122025_21_42_04_9648.jpg', 2), ('/home/nano/Desktop/images/12122025/21/41/image_12122025_21_41_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:44:03.388685 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/43/image_12122025_21_43_15_10654.jpg', 2), ('/home/nano/Desktop/images/12122025/21/42/image_12122025_21_43_04_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/21/42/image_12122025_21_42_45_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/21/42/image_12122025_21_42_34_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/21/41/image_12122025_21_42_04_9648.jpg', 2), ('/home/nano/Desktop/images/12122025/21/41/image_12122025_21_41_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:44:32.471427 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/44/image_12122025_21_44_35_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/21/44/image_12122025_21_44_24_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/21/43/image_12122025_21_44_04_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/21/43/image_12122025_21_43_54_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/21/43/image_12122025_21_43_15_10654.jpg', 2), ('/home/nano/Desktop/images/12122025/21/42/image_12122025_21_43_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:45:03.182949 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/44/image_12122025_21_44_35_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/21/44/image_12122025_21_44_24_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/21/43/image_12122025_21_44_04_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/21/43/image_12122025_21_43_54_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/21/43/image_12122025_21_43_15_10654.jpg', 2), ('/home/nano/Desktop/images/12122025/21/42/image_12122025_21_43_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:45:32.637018 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/44/image_12122025_21_45_05_10661.jpg', 2), ('/home/nano/Desktop/images/12122025/21/44/image_12122025_21_44_45_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/21/44/image_12122025_21_44_35_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/21/44/image_12122025_21_44_24_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/21/43/image_12122025_21_44_04_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/21/43/image_12122025_21_43_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:46:03.284682 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/44/image_12122025_21_45_05_10661.jpg', 2), ('/home/nano/Desktop/images/12122025/21/44/image_12122025_21_44_45_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/21/44/image_12122025_21_44_35_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/21/44/image_12122025_21_44_24_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/21/43/image_12122025_21_44_04_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/21/43/image_12122025_21_43_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:46:32.757687 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/46/image_12122025_21_46_25_10638.jpg', 2), ('/home/nano/Desktop/images/12122025/21/45/image_12122025_21_45_15_9644.jpg', 2), ('/home/nano/Desktop/images/12122025/21/44/image_12122025_21_45_05_10661.jpg', 2), ('/home/nano/Desktop/images/12122025/21/44/image_12122025_21_44_45_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/21/44/image_12122025_21_44_35_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/21/44/image_12122025_21_44_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:47:02.450234 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/46/image_12122025_21_46_25_10638.jpg', 2), ('/home/nano/Desktop/images/12122025/21/45/image_12122025_21_45_15_9644.jpg', 2), ('/home/nano/Desktop/images/12122025/21/44/image_12122025_21_45_05_10661.jpg', 2), ('/home/nano/Desktop/images/12122025/21/44/image_12122025_21_44_45_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/21/44/image_12122025_21_44_35_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/21/44/image_12122025_21_44_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:47:31.867588 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/46/image_12122025_21_47_05_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/21/46/image_12122025_21_46_35_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/21/46/image_12122025_21_46_25_10638.jpg', 2), ('/home/nano/Desktop/images/12122025/21/45/image_12122025_21_45_15_9644.jpg', 2), ('/home/nano/Desktop/images/12122025/21/44/image_12122025_21_45_05_10661.jpg', 2), ('/home/nano/Desktop/images/12122025/21/44/image_12122025_21_44_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:48:02.644612 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/46/image_12122025_21_47_05_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/21/46/image_12122025_21_46_35_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/21/46/image_12122025_21_46_25_10638.jpg', 2), ('/home/nano/Desktop/images/12122025/21/45/image_12122025_21_45_15_9644.jpg', 2), ('/home/nano/Desktop/images/12122025/21/44/image_12122025_21_45_05_10661.jpg', 2), ('/home/nano/Desktop/images/12122025/21/44/image_12122025_21_44_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:48:32.061620 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/48/image_12122025_21_48_45_10652.jpg', 2), ('/home/nano/Desktop/images/12122025/21/48/image_12122025_21_48_15_10647.jpg', 2), ('/home/nano/Desktop/images/12122025/21/47/image_12122025_21_48_04_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/21/47/image_12122025_21_47_14_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/21/46/image_12122025_21_47_05_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/21/46/image_12122025_21_46_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:49:02.976611 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/48/image_12122025_21_48_45_10652.jpg', 2), ('/home/nano/Desktop/images/12122025/21/48/image_12122025_21_48_15_10647.jpg', 2), ('/home/nano/Desktop/images/12122025/21/47/image_12122025_21_48_04_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/21/47/image_12122025_21_47_14_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/21/46/image_12122025_21_47_05_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/21/46/image_12122025_21_46_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:49:32.152251 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/49/image_12122025_21_49_15_10653.jpg', 2), ('/home/nano/Desktop/images/12122025/21/48/image_12122025_21_48_54_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/21/48/image_12122025_21_48_45_10652.jpg', 2), ('/home/nano/Desktop/images/12122025/21/48/image_12122025_21_48_15_10647.jpg', 2), ('/home/nano/Desktop/images/12122025/21/47/image_12122025_21_48_04_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/21/47/image_12122025_21_47_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:50:02.764316 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/49/image_12122025_21_49_15_10653.jpg', 2), ('/home/nano/Desktop/images/12122025/21/48/image_12122025_21_48_54_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/21/48/image_12122025_21_48_45_10652.jpg', 2), ('/home/nano/Desktop/images/12122025/21/48/image_12122025_21_48_15_10647.jpg', 2), ('/home/nano/Desktop/images/12122025/21/47/image_12122025_21_48_04_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/21/47/image_12122025_21_47_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:50:32.151427 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/50/image_12122025_21_50_45_9644.jpg', 2), ('/home/nano/Desktop/images/12122025/21/50/image_12122025_21_50_24_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/21/50/image_12122025_21_50_15_9673.jpg', 2), ('/home/nano/Desktop/images/12122025/21/49/image_12122025_21_50_05_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/21/49/image_12122025_21_49_24_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/21/49/image_12122025_21_49_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:51:03.019431 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/50/image_12122025_21_50_45_9644.jpg', 2), ('/home/nano/Desktop/images/12122025/21/50/image_12122025_21_50_24_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/21/50/image_12122025_21_50_15_9673.jpg', 2), ('/home/nano/Desktop/images/12122025/21/49/image_12122025_21_50_05_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/21/49/image_12122025_21_49_24_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/21/49/image_12122025_21_49_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:51:32.274248 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/51/image_12122025_21_51_44_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/21/51/image_12122025_21_51_14_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/21/50/image_12122025_21_50_54_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/21/50/image_12122025_21_50_45_9644.jpg', 2), ('/home/nano/Desktop/images/12122025/21/50/image_12122025_21_50_24_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/21/50/image_12122025_21_50_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:52:02.912023 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/51/image_12122025_21_51_44_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/21/51/image_12122025_21_51_14_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/21/50/image_12122025_21_50_54_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/21/50/image_12122025_21_50_45_9644.jpg', 2), ('/home/nano/Desktop/images/12122025/21/50/image_12122025_21_50_24_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/21/50/image_12122025_21_50_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:52:32.370285 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/52/image_12122025_21_52_44_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/21/52/image_12122025_21_52_35_9644.jpg', 2), ('/home/nano/Desktop/images/12122025/21/51/image_12122025_21_51_55_10649.jpg', 2), ('/home/nano/Desktop/images/12122025/21/51/image_12122025_21_51_44_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/21/51/image_12122025_21_51_14_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/21/50/image_12122025_21_50_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:53:03.178023 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/52/image_12122025_21_52_44_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/21/52/image_12122025_21_52_35_9644.jpg', 2), ('/home/nano/Desktop/images/12122025/21/51/image_12122025_21_51_55_10649.jpg', 2), ('/home/nano/Desktop/images/12122025/21/51/image_12122025_21_51_44_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/21/51/image_12122025_21_51_14_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/21/50/image_12122025_21_50_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:53:32.459991 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/53/image_12122025_21_53_34_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/21/53/image_12122025_21_53_25_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/21/53/image_12122025_21_53_14_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/21/52/image_12122025_21_52_55_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/21/52/image_12122025_21_52_44_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/21/52/image_12122025_21_52_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:54:03.288296 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/53/image_12122025_21_53_34_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/21/53/image_12122025_21_53_25_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/21/53/image_12122025_21_53_14_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/21/52/image_12122025_21_52_55_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/21/52/image_12122025_21_52_44_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/21/52/image_12122025_21_52_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:54:32.555743 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/54/image_12122025_21_54_25_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/21/54/image_12122025_21_54_15_10649.jpg', 2), ('/home/nano/Desktop/images/12122025/21/53/image_12122025_21_53_45_10647.jpg', 2), ('/home/nano/Desktop/images/12122025/21/53/image_12122025_21_53_34_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/21/53/image_12122025_21_53_25_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/21/53/image_12122025_21_53_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:55:03.359695 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/54/image_12122025_21_54_25_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/21/54/image_12122025_21_54_15_10649.jpg', 2), ('/home/nano/Desktop/images/12122025/21/53/image_12122025_21_53_45_10647.jpg', 2), ('/home/nano/Desktop/images/12122025/21/53/image_12122025_21_53_34_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/21/53/image_12122025_21_53_25_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/21/53/image_12122025_21_53_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:55:32.668044 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/54/image_12122025_21_55_05_10637.jpg', 2), ('/home/nano/Desktop/images/12122025/21/54/image_12122025_21_54_54_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/21/54/image_12122025_21_54_25_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/21/54/image_12122025_21_54_15_10649.jpg', 2), ('/home/nano/Desktop/images/12122025/21/53/image_12122025_21_53_45_10647.jpg', 2), ('/home/nano/Desktop/images/12122025/21/53/image_12122025_21_53_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:56:02.369409 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/54/image_12122025_21_55_05_10637.jpg', 2), ('/home/nano/Desktop/images/12122025/21/54/image_12122025_21_54_54_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/21/54/image_12122025_21_54_25_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/21/54/image_12122025_21_54_15_10649.jpg', 2), ('/home/nano/Desktop/images/12122025/21/53/image_12122025_21_53_45_10647.jpg', 2), ('/home/nano/Desktop/images/12122025/21/53/image_12122025_21_53_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:56:31.827723 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/56/image_12122025_21_56_44_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/21/56/image_12122025_21_56_35_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/21/56/image_12122025_21_56_24_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/21/56/image_12122025_21_56_15_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/21/55/image_12122025_21_56_05_10672.jpg', 2), ('/home/nano/Desktop/images/12122025/21/55/image_12122025_21_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:57:02.681080 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/56/image_12122025_21_56_44_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/21/56/image_12122025_21_56_35_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/21/56/image_12122025_21_56_24_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/21/56/image_12122025_21_56_15_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/21/55/image_12122025_21_56_05_10672.jpg', 2), ('/home/nano/Desktop/images/12122025/21/55/image_12122025_21_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:57:31.940218 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/57/image_12122025_21_57_35_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/21/57/image_12122025_21_57_25_10637.jpg', 2), ('/home/nano/Desktop/images/12122025/21/57/image_12122025_21_57_14_9648.jpg', 2), ('/home/nano/Desktop/images/12122025/21/56/image_12122025_21_57_05_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/21/56/image_12122025_21_56_55_10648.jpg', 2), ('/home/nano/Desktop/images/12122025/21/56/image_12122025_21_56_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:58:02.376234 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/57/image_12122025_21_57_35_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/21/57/image_12122025_21_57_25_10637.jpg', 2), ('/home/nano/Desktop/images/12122025/21/57/image_12122025_21_57_14_9648.jpg', 2), ('/home/nano/Desktop/images/12122025/21/56/image_12122025_21_57_05_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/21/56/image_12122025_21_56_55_10648.jpg', 2), ('/home/nano/Desktop/images/12122025/21/56/image_12122025_21_56_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:59:03.182613 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/57/image_12122025_21_57_35_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/21/57/image_12122025_21_57_25_10637.jpg', 2), ('/home/nano/Desktop/images/12122025/21/57/image_12122025_21_57_14_9648.jpg', 2), ('/home/nano/Desktop/images/12122025/21/56/image_12122025_21_57_05_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/21/56/image_12122025_21_56_55_10648.jpg', 2), ('/home/nano/Desktop/images/12122025/21/56/image_12122025_21_56_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 21:59:32.070453 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/59/image_12122025_21_59_45_10637.jpg', 2), ('/home/nano/Desktop/images/12122025/21/59/image_12122025_21_59_34_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/21/59/image_12122025_21_59_15_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/21/58/image_12122025_21_58_25_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/21/58/image_12122025_21_58_14_9644.jpg', 2), ('/home/nano/Desktop/images/12122025/21/57/image_12122025_21_57_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:00:02.842706 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/59/image_12122025_21_59_45_10637.jpg', 2), ('/home/nano/Desktop/images/12122025/21/59/image_12122025_21_59_34_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/21/59/image_12122025_21_59_15_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/21/58/image_12122025_21_58_25_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/21/58/image_12122025_21_58_14_9644.jpg', 2), ('/home/nano/Desktop/images/12122025/21/57/image_12122025_21_57_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:00:32.196317 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/21/59/image_12122025_21_59_54_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/21/59/image_12122025_21_59_45_10637.jpg', 2), ('/home/nano/Desktop/images/12122025/21/59/image_12122025_21_59_34_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/21/59/image_12122025_21_59_15_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/21/58/image_12122025_21_58_25_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/21/58/image_12122025_21_58_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:01:03.008515 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/00/image_12122025_22_01_05_10657.jpg', 2), ('/home/nano/Desktop/images/12122025/21/59/image_12122025_21_59_54_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/21/59/image_12122025_21_59_45_10637.jpg', 2), ('/home/nano/Desktop/images/12122025/21/59/image_12122025_21_59_34_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/21/59/image_12122025_21_59_15_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/21/58/image_12122025_21_58_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:01:32.306094 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/01/image_12122025_22_01_14_9631.jpg', 2), ('/home/nano/Desktop/images/12122025/22/00/image_12122025_22_01_05_10657.jpg', 2), ('/home/nano/Desktop/images/12122025/21/59/image_12122025_22_00_05_10643.jpg', 2), ('/home/nano/Desktop/images/12122025/21/59/image_12122025_21_59_54_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/21/59/image_12122025_21_59_45_10637.jpg', 2), ('/home/nano/Desktop/images/12122025/21/59/image_12122025_21_59_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:02:03.002761 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/01/image_12122025_22_01_14_9631.jpg', 2), ('/home/nano/Desktop/images/12122025/22/00/image_12122025_22_01_05_10657.jpg', 2), ('/home/nano/Desktop/images/12122025/21/59/image_12122025_22_00_05_10643.jpg', 2), ('/home/nano/Desktop/images/12122025/21/59/image_12122025_21_59_54_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/21/59/image_12122025_21_59_45_10637.jpg', 2), ('/home/nano/Desktop/images/12122025/21/59/image_12122025_21_59_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:02:32.404795 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/02/image_12122025_22_02_14_9660.jpg', 2), ('/home/nano/Desktop/images/12122025/22/01/image_12122025_22_02_05_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/22/01/image_12122025_22_01_24_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/22/01/image_12122025_22_01_14_9631.jpg', 2), ('/home/nano/Desktop/images/12122025/22/00/image_12122025_22_01_05_10657.jpg', 2), ('/home/nano/Desktop/images/12122025/21/59/image_12122025_22_00_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:03:03.169652 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/02/image_12122025_22_02_14_9660.jpg', 2), ('/home/nano/Desktop/images/12122025/22/01/image_12122025_22_02_05_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/22/01/image_12122025_22_01_24_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/22/01/image_12122025_22_01_14_9631.jpg', 2), ('/home/nano/Desktop/images/12122025/22/00/image_12122025_22_01_05_10657.jpg', 2), ('/home/nano/Desktop/images/12122025/21/59/image_12122025_22_00_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:03:32.485766 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/03/image_12122025_22_03_45_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/22/03/image_12122025_22_03_34_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/22/03/image_12122025_22_03_25_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/22/03/image_12122025_22_03_14_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/22/02/image_12122025_22_03_04_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/22/02/image_12122025_22_02_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:04:03.560554 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/03/image_12122025_22_03_45_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/22/03/image_12122025_22_03_34_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/22/03/image_12122025_22_03_25_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/22/03/image_12122025_22_03_14_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/22/02/image_12122025_22_03_04_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/22/02/image_12122025_22_02_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:04:32.621292 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/04/image_12122025_22_04_15_10669.jpg', 2), ('/home/nano/Desktop/images/12122025/22/03/image_12122025_22_04_04_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/22/03/image_12122025_22_03_55_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/22/03/image_12122025_22_03_45_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/22/03/image_12122025_22_03_34_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/22/03/image_12122025_22_03_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:05:03.458173 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/04/image_12122025_22_04_15_10669.jpg', 2), ('/home/nano/Desktop/images/12122025/22/03/image_12122025_22_04_04_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/22/03/image_12122025_22_03_55_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/22/03/image_12122025_22_03_45_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/22/03/image_12122025_22_03_34_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/22/03/image_12122025_22_03_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:05:32.691607 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/04/image_12122025_22_04_54_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/22/04/image_12122025_22_04_15_10669.jpg', 2), ('/home/nano/Desktop/images/12122025/22/03/image_12122025_22_04_04_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/22/03/image_12122025_22_03_55_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/22/03/image_12122025_22_03_45_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/22/03/image_12122025_22_03_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:06:02.152435 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/04/image_12122025_22_04_54_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/22/04/image_12122025_22_04_15_10669.jpg', 2), ('/home/nano/Desktop/images/12122025/22/03/image_12122025_22_04_04_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/22/03/image_12122025_22_03_55_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/22/03/image_12122025_22_03_45_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/22/03/image_12122025_22_03_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:06:31.829028 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/06/image_12122025_22_06_15_9643.jpg', 2), ('/home/nano/Desktop/images/12122025/22/05/image_12122025_22_06_05_10640.jpg', 2), ('/home/nano/Desktop/images/12122025/22/04/image_12122025_22_05_04_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/22/04/image_12122025_22_04_54_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/22/04/image_12122025_22_04_15_10669.jpg', 2), ('/home/nano/Desktop/images/12122025/22/03/image_12122025_22_04_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:07:02.532078 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/06/image_12122025_22_06_15_9643.jpg', 2), ('/home/nano/Desktop/images/12122025/22/05/image_12122025_22_06_05_10640.jpg', 2), ('/home/nano/Desktop/images/12122025/22/04/image_12122025_22_05_04_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/22/04/image_12122025_22_04_54_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/22/04/image_12122025_22_04_15_10669.jpg', 2), ('/home/nano/Desktop/images/12122025/22/03/image_12122025_22_04_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:07:31.871213 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/07/image_12122025_22_07_35_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/22/07/image_12122025_22_07_25_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/22/07/image_12122025_22_07_14_9643.jpg', 2), ('/home/nano/Desktop/images/12122025/22/06/image_12122025_22_07_05_10654.jpg', 2), ('/home/nano/Desktop/images/12122025/22/06/image_12122025_22_06_54_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/22/06/image_12122025_22_06_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:08:02.409677 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/07/image_12122025_22_07_35_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/22/07/image_12122025_22_07_25_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/22/07/image_12122025_22_07_14_9643.jpg', 2), ('/home/nano/Desktop/images/12122025/22/06/image_12122025_22_07_05_10654.jpg', 2), ('/home/nano/Desktop/images/12122025/22/06/image_12122025_22_06_54_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/22/06/image_12122025_22_06_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:08:31.997554 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/08/image_12122025_22_08_45_10637.jpg', 2), ('/home/nano/Desktop/images/12122025/22/08/image_12122025_22_08_14_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/22/07/image_12122025_22_08_05_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/22/07/image_12122025_22_07_44_9631.jpg', 2), ('/home/nano/Desktop/images/12122025/22/07/image_12122025_22_07_35_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/22/07/image_12122025_22_07_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:09:02.939265 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/08/image_12122025_22_08_45_10637.jpg', 2), ('/home/nano/Desktop/images/12122025/22/08/image_12122025_22_08_14_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/22/07/image_12122025_22_08_05_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/22/07/image_12122025_22_07_44_9631.jpg', 2), ('/home/nano/Desktop/images/12122025/22/07/image_12122025_22_07_35_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/22/07/image_12122025_22_07_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:09:32.103023 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/09/image_12122025_22_09_45_10638.jpg', 2), ('/home/nano/Desktop/images/12122025/22/09/image_12122025_22_09_34_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/22/09/image_12122025_22_09_25_9636.jpg', 2), ('/home/nano/Desktop/images/12122025/22/09/image_12122025_22_09_15_10653.jpg', 2), ('/home/nano/Desktop/images/12122025/22/08/image_12122025_22_08_55_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/22/08/image_12122025_22_08_45_10637.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:10:02.710576 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/09/image_12122025_22_09_45_10638.jpg', 2), ('/home/nano/Desktop/images/12122025/22/09/image_12122025_22_09_34_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/22/09/image_12122025_22_09_25_9636.jpg', 2), ('/home/nano/Desktop/images/12122025/22/09/image_12122025_22_09_15_10653.jpg', 2), ('/home/nano/Desktop/images/12122025/22/08/image_12122025_22_08_55_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/22/08/image_12122025_22_08_45_10637.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:10:32.196378 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/10/image_12122025_22_10_45_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/22/10/image_12122025_22_10_35_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/22/10/image_12122025_22_10_24_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/22/10/image_12122025_22_10_15_10668.jpg', 2), ('/home/nano/Desktop/images/12122025/22/09/image_12122025_22_09_55_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/22/09/image_12122025_22_09_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:11:02.984646 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/10/image_12122025_22_10_45_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/22/10/image_12122025_22_10_35_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/22/10/image_12122025_22_10_24_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/22/10/image_12122025_22_10_15_10668.jpg', 2), ('/home/nano/Desktop/images/12122025/22/09/image_12122025_22_09_55_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/22/09/image_12122025_22_09_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:11:32.390662 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/11/image_12122025_22_11_44_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/22/11/image_12122025_22_11_24_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/22/11/image_12122025_22_11_15_9632.jpg', 2), ('/home/nano/Desktop/images/12122025/22/10/image_12122025_22_10_54_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/22/10/image_12122025_22_10_45_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/22/10/image_12122025_22_10_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:12:02.757287 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/11/image_12122025_22_11_44_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/22/11/image_12122025_22_11_24_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/22/11/image_12122025_22_11_15_9632.jpg', 2), ('/home/nano/Desktop/images/12122025/22/10/image_12122025_22_10_54_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/22/10/image_12122025_22_10_45_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/22/10/image_12122025_22_10_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:12:32.436175 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/12/image_12122025_22_12_25_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/22/12/image_12122025_22_12_14_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/22/11/image_12122025_22_12_05_10641.jpg', 2), ('/home/nano/Desktop/images/12122025/22/11/image_12122025_22_11_54_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/22/11/image_12122025_22_11_44_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/22/11/image_12122025_22_11_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:13:03.254137 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/12/image_12122025_22_12_25_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/22/12/image_12122025_22_12_14_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/22/11/image_12122025_22_12_05_10641.jpg', 2), ('/home/nano/Desktop/images/12122025/22/11/image_12122025_22_11_54_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/22/11/image_12122025_22_11_44_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/22/11/image_12122025_22_11_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:13:32.556813 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/13/image_12122025_22_13_44_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/22/12/image_12122025_22_13_05_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/22/12/image_12122025_22_12_55_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/22/12/image_12122025_22_12_25_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/22/12/image_12122025_22_12_14_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/22/11/image_12122025_22_12_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:14:03.461293 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/13/image_12122025_22_13_44_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/22/12/image_12122025_22_13_05_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/22/12/image_12122025_22_12_55_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/22/12/image_12122025_22_12_25_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/22/12/image_12122025_22_12_14_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/22/11/image_12122025_22_12_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:14:32.641144 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/14/image_12122025_22_14_25_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/22/13/image_12122025_22_13_55_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/22/13/image_12122025_22_13_44_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/22/12/image_12122025_22_13_05_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/22/12/image_12122025_22_12_55_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/22/12/image_12122025_22_12_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:15:03.205700 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/14/image_12122025_22_14_25_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/22/13/image_12122025_22_13_55_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/22/13/image_12122025_22_13_44_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/22/12/image_12122025_22_13_05_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/22/12/image_12122025_22_12_55_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/22/12/image_12122025_22_12_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:15:32.760559 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/14/image_12122025_22_14_25_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/22/13/image_12122025_22_13_55_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/22/13/image_12122025_22_13_44_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/22/12/image_12122025_22_13_05_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/22/12/image_12122025_22_12_55_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/22/12/image_12122025_22_12_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:16:02.461322 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/14/image_12122025_22_14_25_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/22/13/image_12122025_22_13_55_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/22/13/image_12122025_22_13_44_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/22/12/image_12122025_22_13_05_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/22/12/image_12122025_22_12_55_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/22/12/image_12122025_22_12_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:16:31.979978 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/16/image_12122025_22_16_44_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/22/16/image_12122025_22_16_35_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/22/16/image_12122025_22_16_24_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/22/16/image_12122025_22_16_15_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/22/14/image_12122025_22_14_34_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/22/14/image_12122025_22_14_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:17:02.656872 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/16/image_12122025_22_16_44_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/22/16/image_12122025_22_16_35_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/22/16/image_12122025_22_16_24_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/22/16/image_12122025_22_16_15_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/22/14/image_12122025_22_14_34_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/22/14/image_12122025_22_14_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:17:32.057720 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/17/image_12122025_22_17_44_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/22/17/image_12122025_22_17_25_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/22/17/image_12122025_22_17_14_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/22/16/image_12122025_22_17_05_10640.jpg', 2), ('/home/nano/Desktop/images/12122025/22/16/image_12122025_22_16_54_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/22/16/image_12122025_22_16_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:18:02.578701 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/17/image_12122025_22_17_44_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/22/17/image_12122025_22_17_25_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/22/17/image_12122025_22_17_14_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/22/16/image_12122025_22_17_05_10640.jpg', 2), ('/home/nano/Desktop/images/12122025/22/16/image_12122025_22_16_54_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/22/16/image_12122025_22_16_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:18:32.193239 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/18/image_12122025_22_18_45_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/22/18/image_12122025_22_18_34_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/22/18/image_12122025_22_18_25_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/22/17/image_12122025_22_17_55_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/22/17/image_12122025_22_17_44_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/22/17/image_12122025_22_17_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:19:03.212326 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/19/image_12122025_22_19_25_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/22/18/image_12122025_22_18_45_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/22/18/image_12122025_22_18_34_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/22/18/image_12122025_22_18_25_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/22/17/image_12122025_22_17_55_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/22/17/image_12122025_22_17_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:19:32.227569 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/19/image_12122025_22_19_25_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/22/18/image_12122025_22_18_55_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/22/18/image_12122025_22_18_45_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/22/18/image_12122025_22_18_34_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/22/18/image_12122025_22_18_25_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/22/17/image_12122025_22_17_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:20:02.687248 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/19/image_12122025_22_19_25_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/22/18/image_12122025_22_18_55_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/22/18/image_12122025_22_18_45_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/22/18/image_12122025_22_18_34_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/22/18/image_12122025_22_18_25_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/22/17/image_12122025_22_17_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:20:32.341756 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/20/image_12122025_22_20_35_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/22/20/image_12122025_22_20_24_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/22/20/image_12122025_22_20_15_10651.jpg', 2), ('/home/nano/Desktop/images/12122025/22/19/image_12122025_22_19_25_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/22/18/image_12122025_22_19_04_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/22/18/image_12122025_22_18_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:21:03.192513 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/20/image_12122025_22_20_35_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/22/20/image_12122025_22_20_24_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/22/20/image_12122025_22_20_15_10651.jpg', 2), ('/home/nano/Desktop/images/12122025/22/19/image_12122025_22_19_25_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/22/18/image_12122025_22_19_04_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/22/18/image_12122025_22_18_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:21:32.468256 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/21/image_12122025_22_21_44_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/22/21/image_12122025_22_21_15_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/22/20/image_12122025_22_21_05_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/22/20/image_12122025_22_20_45_9641.jpg', 2), ('/home/nano/Desktop/images/12122025/22/20/image_12122025_22_20_35_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/22/20/image_12122025_22_20_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:22:02.985563 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/21/image_12122025_22_21_44_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/22/21/image_12122025_22_21_15_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/22/20/image_12122025_22_21_05_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/22/20/image_12122025_22_20_45_9641.jpg', 2), ('/home/nano/Desktop/images/12122025/22/20/image_12122025_22_20_35_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/22/20/image_12122025_22_20_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:22:32.546593 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/22/image_12122025_22_22_44_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/22/22/image_12122025_22_22_35_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/22/21/image_12122025_22_21_55_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/22/21/image_12122025_22_21_44_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/22/21/image_12122025_22_21_15_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/22/20/image_12122025_22_21_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:23:03.199917 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/22/image_12122025_22_22_44_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/22/22/image_12122025_22_22_35_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/22/21/image_12122025_22_21_55_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/22/21/image_12122025_22_21_44_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/22/21/image_12122025_22_21_15_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/22/20/image_12122025_22_21_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:23:32.619671 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/23/image_12122025_22_23_25_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/22/23/image_12122025_22_23_14_9644.jpg', 2), ('/home/nano/Desktop/images/12122025/22/22/image_12122025_22_23_05_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/22/22/image_12122025_22_22_55_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/22/22/image_12122025_22_22_44_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/22/22/image_12122025_22_22_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:24:03.743986 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/23/image_12122025_22_23_25_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/22/23/image_12122025_22_23_14_9644.jpg', 2), ('/home/nano/Desktop/images/12122025/22/22/image_12122025_22_23_05_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/22/22/image_12122025_22_22_55_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/22/22/image_12122025_22_22_44_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/22/22/image_12122025_22_22_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:24:32.762707 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/24/image_12122025_22_24_34_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/22/24/image_12122025_22_24_25_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/22/24/image_12122025_22_24_15_10648.jpg', 2), ('/home/nano/Desktop/images/12122025/22/23/image_12122025_22_23_34_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/22/23/image_12122025_22_23_25_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/22/23/image_12122025_22_23_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:25:02.674820 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/24/image_12122025_22_24_34_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/22/24/image_12122025_22_24_25_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/22/24/image_12122025_22_24_15_10648.jpg', 2), ('/home/nano/Desktop/images/12122025/22/23/image_12122025_22_23_34_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/22/23/image_12122025_22_23_25_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/22/23/image_12122025_22_23_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:25:31.899492 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/25/image_12122025_22_25_45_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/22/25/image_12122025_22_25_35_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/22/25/image_12122025_22_25_24_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/22/24/image_12122025_22_24_45_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/22/24/image_12122025_22_24_34_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/22/24/image_12122025_22_24_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:26:02.555226 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/25/image_12122025_22_25_45_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/22/25/image_12122025_22_25_35_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/22/25/image_12122025_22_25_24_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/22/24/image_12122025_22_24_45_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/22/24/image_12122025_22_24_34_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/22/24/image_12122025_22_24_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:26:32.077220 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/26/image_12122025_22_26_35_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/22/26/image_12122025_22_26_24_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/22/26/image_12122025_22_26_15_9650.jpg', 2), ('/home/nano/Desktop/images/12122025/22/25/image_12122025_22_26_05_10647.jpg', 2), ('/home/nano/Desktop/images/12122025/22/25/image_12122025_22_25_54_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/22/25/image_12122025_22_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:27:02.592107 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/26/image_12122025_22_26_35_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/22/26/image_12122025_22_26_24_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/22/26/image_12122025_22_26_15_9650.jpg', 2), ('/home/nano/Desktop/images/12122025/22/25/image_12122025_22_26_05_10647.jpg', 2), ('/home/nano/Desktop/images/12122025/22/25/image_12122025_22_25_54_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/22/25/image_12122025_22_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:27:32.200519 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/27/image_12122025_22_27_25_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/22/26/image_12122025_22_26_44_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/22/26/image_12122025_22_26_35_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/22/26/image_12122025_22_26_24_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/22/26/image_12122025_22_26_15_9650.jpg', 2), ('/home/nano/Desktop/images/12122025/22/25/image_12122025_22_26_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:28:02.751486 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/28/image_12122025_22_28_34_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/22/27/image_12122025_22_27_25_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/22/26/image_12122025_22_26_44_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/22/26/image_12122025_22_26_35_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/22/26/image_12122025_22_26_24_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/22/26/image_12122025_22_26_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:28:32.292071 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/28/image_12122025_22_28_45_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/22/28/image_12122025_22_28_34_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/22/28/image_12122025_22_28_25_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/22/28/image_12122025_22_28_14_9641.jpg', 2), ('/home/nano/Desktop/images/12122025/22/27/image_12122025_22_28_05_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/22/27/image_12122025_22_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:29:03.269437 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/28/image_12122025_22_28_45_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/22/28/image_12122025_22_28_34_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/22/28/image_12122025_22_28_25_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/22/28/image_12122025_22_28_14_9641.jpg', 2), ('/home/nano/Desktop/images/12122025/22/27/image_12122025_22_28_05_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/22/27/image_12122025_22_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:29:32.403190 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/29/image_12122025_22_29_34_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/22/29/image_12122025_22_29_25_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/22/28/image_12122025_22_29_04_9647.jpg', 2), ('/home/nano/Desktop/images/12122025/22/28/image_12122025_22_28_55_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/22/28/image_12122025_22_28_45_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/22/28/image_12122025_22_28_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:30:02.923028 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/29/image_12122025_22_29_34_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/22/29/image_12122025_22_29_25_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/22/28/image_12122025_22_29_04_9647.jpg', 2), ('/home/nano/Desktop/images/12122025/22/28/image_12122025_22_28_55_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/22/28/image_12122025_22_28_45_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/22/28/image_12122025_22_28_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:30:32.528390 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/30/image_12122025_22_30_24_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/22/30/image_12122025_22_30_15_10649.jpg', 2), ('/home/nano/Desktop/images/12122025/22/29/image_12122025_22_30_04_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/22/29/image_12122025_22_29_54_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/22/29/image_12122025_22_29_34_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/22/29/image_12122025_22_29_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:31:03.391642 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/30/image_12122025_22_30_24_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/22/30/image_12122025_22_30_15_10649.jpg', 2), ('/home/nano/Desktop/images/12122025/22/29/image_12122025_22_30_04_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/22/29/image_12122025_22_29_54_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/22/29/image_12122025_22_29_34_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/22/29/image_12122025_22_29_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:31:32.622225 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/31/image_12122025_22_31_44_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/22/31/image_12122025_22_31_35_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/22/31/image_12122025_22_31_24_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/22/30/image_12122025_22_31_05_10653.jpg', 2), ('/home/nano/Desktop/images/12122025/22/30/image_12122025_22_30_54_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/22/30/image_12122025_22_30_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:32:03.169641 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/31/image_12122025_22_31_44_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/22/31/image_12122025_22_31_35_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/22/31/image_12122025_22_31_24_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/22/30/image_12122025_22_31_05_10653.jpg', 2), ('/home/nano/Desktop/images/12122025/22/30/image_12122025_22_30_54_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/22/30/image_12122025_22_30_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:32:32.713145 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/32/image_12122025_22_32_35_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/22/32/image_12122025_22_32_25_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/22/32/image_12122025_22_32_14_9662.jpg', 2), ('/home/nano/Desktop/images/12122025/22/31/image_12122025_22_31_54_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/22/31/image_12122025_22_31_44_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/22/31/image_12122025_22_31_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:33:02.436118 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/32/image_12122025_22_32_35_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/22/32/image_12122025_22_32_25_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/22/32/image_12122025_22_32_14_9662.jpg', 2), ('/home/nano/Desktop/images/12122025/22/31/image_12122025_22_31_54_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/22/31/image_12122025_22_31_44_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/22/31/image_12122025_22_31_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:33:31.824786 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/32/image_12122025_22_32_35_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/22/32/image_12122025_22_32_25_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/22/32/image_12122025_22_32_14_9662.jpg', 2), ('/home/nano/Desktop/images/12122025/22/31/image_12122025_22_31_54_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/22/31/image_12122025_22_31_44_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/22/31/image_12122025_22_31_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:34:02.600081 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/32/image_12122025_22_32_35_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/22/32/image_12122025_22_32_25_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/22/32/image_12122025_22_32_14_9662.jpg', 2), ('/home/nano/Desktop/images/12122025/22/31/image_12122025_22_31_54_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/22/31/image_12122025_22_31_44_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/22/31/image_12122025_22_31_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:34:31.904629 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/34/image_12122025_22_34_45_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/22/34/image_12122025_22_34_34_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/22/34/image_12122025_22_34_15_10649.jpg', 2), ('/home/nano/Desktop/images/12122025/22/32/image_12122025_22_32_44_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/22/32/image_12122025_22_32_35_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/22/32/image_12122025_22_32_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:35:02.747453 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/34/image_12122025_22_34_45_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/22/34/image_12122025_22_34_34_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/22/34/image_12122025_22_34_15_10649.jpg', 2), ('/home/nano/Desktop/images/12122025/22/32/image_12122025_22_32_44_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/22/32/image_12122025_22_32_35_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/22/32/image_12122025_22_32_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:35:32.015533 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/35/image_12122025_22_35_45_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/22/35/image_12122025_22_35_15_10652.jpg', 2), ('/home/nano/Desktop/images/12122025/22/34/image_12122025_22_35_04_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/22/34/image_12122025_22_34_55_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/22/34/image_12122025_22_34_45_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/22/34/image_12122025_22_34_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:36:02.659971 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/35/image_12122025_22_35_45_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/22/35/image_12122025_22_35_15_10652.jpg', 2), ('/home/nano/Desktop/images/12122025/22/34/image_12122025_22_35_04_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/22/34/image_12122025_22_34_55_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/22/34/image_12122025_22_34_45_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/22/34/image_12122025_22_34_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:36:32.097196 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/36/image_12122025_22_36_15_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/22/35/image_12122025_22_36_05_10650.jpg', 2), ('/home/nano/Desktop/images/12122025/22/35/image_12122025_22_35_54_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/22/35/image_12122025_22_35_45_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/22/35/image_12122025_22_35_15_10652.jpg', 2), ('/home/nano/Desktop/images/12122025/22/34/image_12122025_22_35_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:37:02.923726 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/36/image_12122025_22_36_15_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/22/35/image_12122025_22_36_05_10650.jpg', 2), ('/home/nano/Desktop/images/12122025/22/35/image_12122025_22_35_54_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/22/35/image_12122025_22_35_45_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/22/35/image_12122025_22_35_15_10652.jpg', 2), ('/home/nano/Desktop/images/12122025/22/34/image_12122025_22_35_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:37:32.245451 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/37/image_12122025_22_37_44_9644.jpg', 2), ('/home/nano/Desktop/images/12122025/22/37/image_12122025_22_37_35_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/22/37/image_12122025_22_37_25_10637.jpg', 2), ('/home/nano/Desktop/images/12122025/22/36/image_12122025_22_37_05_10642.jpg', 2), ('/home/nano/Desktop/images/12122025/22/36/image_12122025_22_36_44_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/22/36/image_12122025_22_36_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:38:02.996571 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/37/image_12122025_22_37_44_9644.jpg', 2), ('/home/nano/Desktop/images/12122025/22/37/image_12122025_22_37_35_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/22/37/image_12122025_22_37_25_10637.jpg', 2), ('/home/nano/Desktop/images/12122025/22/36/image_12122025_22_37_05_10642.jpg', 2), ('/home/nano/Desktop/images/12122025/22/36/image_12122025_22_36_44_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/22/36/image_12122025_22_36_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:38:32.369956 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/38/image_12122025_22_38_25_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/22/38/image_12122025_22_38_14_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/22/37/image_12122025_22_37_55_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/22/37/image_12122025_22_37_44_9644.jpg', 2), ('/home/nano/Desktop/images/12122025/22/37/image_12122025_22_37_35_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/22/37/image_12122025_22_37_25_10637.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:39:03.482398 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/38/image_12122025_22_38_25_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/22/38/image_12122025_22_38_14_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/22/37/image_12122025_22_37_55_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/22/37/image_12122025_22_37_44_9644.jpg', 2), ('/home/nano/Desktop/images/12122025/22/37/image_12122025_22_37_35_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/22/37/image_12122025_22_37_25_10637.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:39:32.449645 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/39/image_12122025_22_39_45_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/22/39/image_12122025_22_39_25_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/22/39/image_12122025_22_39_15_10653.jpg', 2), ('/home/nano/Desktop/images/12122025/22/38/image_12122025_22_39_04_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/22/38/image_12122025_22_38_34_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/22/38/image_12122025_22_38_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:40:03.189350 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/39/image_12122025_22_39_45_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/22/39/image_12122025_22_39_25_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/22/39/image_12122025_22_39_15_10653.jpg', 2), ('/home/nano/Desktop/images/12122025/22/38/image_12122025_22_39_04_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/22/38/image_12122025_22_38_34_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/22/38/image_12122025_22_38_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:40:32.617059 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/40/image_12122025_22_40_35_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/22/40/image_12122025_22_40_24_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/22/39/image_12122025_22_40_04_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/22/39/image_12122025_22_39_55_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/22/39/image_12122025_22_39_45_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/22/39/image_12122025_22_39_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:41:03.429087 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/40/image_12122025_22_40_35_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/22/40/image_12122025_22_40_24_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/22/39/image_12122025_22_40_04_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/22/39/image_12122025_22_39_55_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/22/39/image_12122025_22_39_45_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/22/39/image_12122025_22_39_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:41:32.693420 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/41/image_12122025_22_41_45_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/22/41/image_12122025_22_41_15_9664.jpg', 2), ('/home/nano/Desktop/images/12122025/22/40/image_12122025_22_41_05_10649.jpg', 2), ('/home/nano/Desktop/images/12122025/22/40/image_12122025_22_40_54_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/22/40/image_12122025_22_40_35_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/22/40/image_12122025_22_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:42:02.435184 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/41/image_12122025_22_41_45_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/22/41/image_12122025_22_41_15_9664.jpg', 2), ('/home/nano/Desktop/images/12122025/22/40/image_12122025_22_41_05_10649.jpg', 2), ('/home/nano/Desktop/images/12122025/22/40/image_12122025_22_40_54_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/22/40/image_12122025_22_40_35_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/22/40/image_12122025_22_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:42:31.807790 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/42/image_12122025_22_42_25_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/22/42/image_12122025_22_42_14_9645.jpg', 2), ('/home/nano/Desktop/images/12122025/22/41/image_12122025_22_41_54_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/22/41/image_12122025_22_41_45_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/22/41/image_12122025_22_41_15_9664.jpg', 2), ('/home/nano/Desktop/images/12122025/22/40/image_12122025_22_41_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:43:02.628074 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/42/image_12122025_22_42_25_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/22/42/image_12122025_22_42_14_9645.jpg', 2), ('/home/nano/Desktop/images/12122025/22/41/image_12122025_22_41_54_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/22/41/image_12122025_22_41_45_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/22/41/image_12122025_22_41_15_9664.jpg', 2), ('/home/nano/Desktop/images/12122025/22/40/image_12122025_22_41_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:43:31.908856 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/43/image_12122025_22_43_44_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/22/43/image_12122025_22_43_34_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/22/43/image_12122025_22_43_14_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/22/42/image_12122025_22_43_05_9636.jpg', 2), ('/home/nano/Desktop/images/12122025/22/42/image_12122025_22_42_35_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/22/42/image_12122025_22_42_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:44:02.807764 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/43/image_12122025_22_43_44_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/22/43/image_12122025_22_43_34_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/22/43/image_12122025_22_43_14_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/22/42/image_12122025_22_43_05_9636.jpg', 2), ('/home/nano/Desktop/images/12122025/22/42/image_12122025_22_42_35_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/22/42/image_12122025_22_42_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:44:32.014136 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/44/image_12122025_22_44_45_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/22/44/image_12122025_22_44_34_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/22/44/image_12122025_22_44_25_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/22/43/image_12122025_22_44_04_9654.jpg', 2), ('/home/nano/Desktop/images/12122025/22/43/image_12122025_22_43_55_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/22/43/image_12122025_22_43_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:45:02.902343 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/44/image_12122025_22_44_45_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/22/44/image_12122025_22_44_34_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/22/44/image_12122025_22_44_25_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/22/43/image_12122025_22_44_04_9654.jpg', 2), ('/home/nano/Desktop/images/12122025/22/43/image_12122025_22_43_55_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/22/43/image_12122025_22_43_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:45:32.104440 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/45/image_12122025_22_45_45_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/22/45/image_12122025_22_45_34_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/22/45/image_12122025_22_45_24_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/22/45/image_12122025_22_45_15_10652.jpg', 2), ('/home/nano/Desktop/images/12122025/22/44/image_12122025_22_44_55_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/22/44/image_12122025_22_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:46:02.656037 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/45/image_12122025_22_45_45_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/22/45/image_12122025_22_45_34_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/22/45/image_12122025_22_45_24_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/22/45/image_12122025_22_45_15_10652.jpg', 2), ('/home/nano/Desktop/images/12122025/22/44/image_12122025_22_44_55_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/22/44/image_12122025_22_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:46:32.278530 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/46/image_12122025_22_46_54_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/22/46/image_12122025_22_46_35_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/22/46/image_12122025_22_46_24_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/22/46/image_12122025_22_46_15_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/22/45/image_12122025_22_46_05_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/22/45/image_12122025_22_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:47:03.105052 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/46/image_12122025_22_46_54_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/22/46/image_12122025_22_46_35_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/22/46/image_12122025_22_46_24_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/22/46/image_12122025_22_46_15_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/22/45/image_12122025_22_46_05_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/22/45/image_12122025_22_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:47:32.361584 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/47/image_12122025_22_47_44_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/22/46/image_12122025_22_46_54_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/22/46/image_12122025_22_46_44_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/22/46/image_12122025_22_46_35_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/22/46/image_12122025_22_46_24_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/22/46/image_12122025_22_46_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:48:02.874879 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/47/image_12122025_22_47_44_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/22/46/image_12122025_22_46_54_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/22/46/image_12122025_22_46_44_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/22/46/image_12122025_22_46_35_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/22/46/image_12122025_22_46_24_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/22/46/image_12122025_22_46_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:48:32.482188 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/48/image_12122025_22_48_45_10651.jpg', 2), ('/home/nano/Desktop/images/12122025/22/48/image_12122025_22_48_25_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/22/47/image_12122025_22_48_05_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/22/47/image_12122025_22_47_55_10628.jpg', 2), ('/home/nano/Desktop/images/12122025/22/47/image_12122025_22_47_44_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/22/46/image_12122025_22_46_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:49:03.640173 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/48/image_12122025_22_48_45_10651.jpg', 2), ('/home/nano/Desktop/images/12122025/22/48/image_12122025_22_48_25_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/22/47/image_12122025_22_48_05_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/22/47/image_12122025_22_47_55_10628.jpg', 2), ('/home/nano/Desktop/images/12122025/22/47/image_12122025_22_47_44_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/22/46/image_12122025_22_46_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:49:32.563776 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/49/image_12122025_22_49_45_10647.jpg', 2), ('/home/nano/Desktop/images/12122025/22/49/image_12122025_22_49_34_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/22/49/image_12122025_22_49_25_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/22/49/image_12122025_22_49_15_10654.jpg', 2), ('/home/nano/Desktop/images/12122025/22/48/image_12122025_22_49_04_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/22/48/image_12122025_22_48_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:50:03.270946 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/49/image_12122025_22_49_45_10647.jpg', 2), ('/home/nano/Desktop/images/12122025/22/49/image_12122025_22_49_34_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/22/49/image_12122025_22_49_25_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/22/49/image_12122025_22_49_15_10654.jpg', 2), ('/home/nano/Desktop/images/12122025/22/48/image_12122025_22_49_04_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/22/48/image_12122025_22_48_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:50:32.731892 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/50/image_12122025_22_50_45_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/22/50/image_12122025_22_50_35_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/22/50/image_12122025_22_50_15_10648.jpg', 2), ('/home/nano/Desktop/images/12122025/22/49/image_12122025_22_50_04_9634.jpg', 2), ('/home/nano/Desktop/images/12122025/22/49/image_12122025_22_49_54_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/22/49/image_12122025_22_49_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:51:02.559313 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/50/image_12122025_22_50_45_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/22/50/image_12122025_22_50_35_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/22/50/image_12122025_22_50_15_10648.jpg', 2), ('/home/nano/Desktop/images/12122025/22/49/image_12122025_22_50_04_9634.jpg', 2), ('/home/nano/Desktop/images/12122025/22/49/image_12122025_22_49_54_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/22/49/image_12122025_22_49_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:51:31.770517 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/51/image_12122025_22_51_45_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/22/51/image_12122025_22_51_35_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/22/51/image_12122025_22_51_24_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/22/51/image_12122025_22_51_15_9674.jpg', 2), ('/home/nano/Desktop/images/12122025/22/50/image_12122025_22_51_05_10645.jpg', 2), ('/home/nano/Desktop/images/12122025/22/50/image_12122025_22_50_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:52:02.357327 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/51/image_12122025_22_51_45_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/22/51/image_12122025_22_51_35_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/22/51/image_12122025_22_51_24_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/22/51/image_12122025_22_51_15_9674.jpg', 2), ('/home/nano/Desktop/images/12122025/22/50/image_12122025_22_51_05_10645.jpg', 2), ('/home/nano/Desktop/images/12122025/22/50/image_12122025_22_50_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:52:31.849528 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/51/image_12122025_22_52_05_10656.jpg', 2), ('/home/nano/Desktop/images/12122025/22/51/image_12122025_22_51_54_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/22/51/image_12122025_22_51_45_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/22/51/image_12122025_22_51_35_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/22/51/image_12122025_22_51_24_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/22/51/image_12122025_22_51_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:53:02.771612 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/51/image_12122025_22_52_05_10656.jpg', 2), ('/home/nano/Desktop/images/12122025/22/51/image_12122025_22_51_54_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/22/51/image_12122025_22_51_45_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/22/51/image_12122025_22_51_35_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/22/51/image_12122025_22_51_24_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/22/51/image_12122025_22_51_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:53:32.070004 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/52/image_12122025_22_53_05_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/22/52/image_12122025_22_52_25_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/22/51/image_12122025_22_52_05_10656.jpg', 2), ('/home/nano/Desktop/images/12122025/22/51/image_12122025_22_51_54_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/22/51/image_12122025_22_51_45_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/22/51/image_12122025_22_51_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:54:02.842700 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/52/image_12122025_22_53_05_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/22/52/image_12122025_22_52_25_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/22/51/image_12122025_22_52_05_10656.jpg', 2), ('/home/nano/Desktop/images/12122025/22/51/image_12122025_22_51_54_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/22/51/image_12122025_22_51_45_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/22/51/image_12122025_22_51_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:54:32.067025 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/54/image_12122025_22_54_34_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/22/54/image_12122025_22_54_25_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/22/54/image_12122025_22_54_15_10668.jpg', 2), ('/home/nano/Desktop/images/12122025/22/53/image_12122025_22_53_14_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/22/52/image_12122025_22_53_05_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/22/52/image_12122025_22_52_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:55:02.918907 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/54/image_12122025_22_54_34_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/22/54/image_12122025_22_54_25_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/22/54/image_12122025_22_54_15_10668.jpg', 2), ('/home/nano/Desktop/images/12122025/22/53/image_12122025_22_53_14_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/22/52/image_12122025_22_53_05_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/22/52/image_12122025_22_52_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:55:32.175618 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/54/image_12122025_22_55_04_9673.jpg', 2), ('/home/nano/Desktop/images/12122025/22/54/image_12122025_22_54_55_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/22/54/image_12122025_22_54_34_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/22/54/image_12122025_22_54_25_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/22/54/image_12122025_22_54_15_10668.jpg', 2), ('/home/nano/Desktop/images/12122025/22/53/image_12122025_22_53_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:56:02.755564 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/54/image_12122025_22_55_04_9673.jpg', 2), ('/home/nano/Desktop/images/12122025/22/54/image_12122025_22_54_55_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/22/54/image_12122025_22_54_34_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/22/54/image_12122025_22_54_25_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/22/54/image_12122025_22_54_15_10668.jpg', 2), ('/home/nano/Desktop/images/12122025/22/53/image_12122025_22_53_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:56:32.298653 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/56/image_12122025_22_56_24_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/22/56/image_12122025_22_56_15_10666.jpg', 2), ('/home/nano/Desktop/images/12122025/22/55/image_12122025_22_56_04_9665.jpg', 2), ('/home/nano/Desktop/images/12122025/22/55/image_12122025_22_55_15_10673.jpg', 2), ('/home/nano/Desktop/images/12122025/22/54/image_12122025_22_55_04_9673.jpg', 2), ('/home/nano/Desktop/images/12122025/22/54/image_12122025_22_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:57:03.089965 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/56/image_12122025_22_56_24_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/22/56/image_12122025_22_56_15_10666.jpg', 2), ('/home/nano/Desktop/images/12122025/22/55/image_12122025_22_56_04_9665.jpg', 2), ('/home/nano/Desktop/images/12122025/22/55/image_12122025_22_55_15_10673.jpg', 2), ('/home/nano/Desktop/images/12122025/22/54/image_12122025_22_55_04_9673.jpg', 2), ('/home/nano/Desktop/images/12122025/22/54/image_12122025_22_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:57:32.367898 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/57/image_12122025_22_57_35_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/22/57/image_12122025_22_57_24_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/22/56/image_12122025_22_57_05_10649.jpg', 2), ('/home/nano/Desktop/images/12122025/22/56/image_12122025_22_56_54_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/22/56/image_12122025_22_56_24_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/22/56/image_12122025_22_56_15_10666.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:59:03.451020 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/58/image_12122025_22_58_35_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/22/58/image_12122025_22_58_25_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/22/57/image_12122025_22_57_44_9631.jpg', 2), ('/home/nano/Desktop/images/12122025/22/57/image_12122025_22_57_35_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/22/57/image_12122025_22_57_24_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/22/56/image_12122025_22_57_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 22:59:32.622569 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/58/image_12122025_22_58_55_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/22/58/image_12122025_22_58_35_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/22/58/image_12122025_22_58_25_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/22/57/image_12122025_22_57_44_9631.jpg', 2), ('/home/nano/Desktop/images/12122025/22/57/image_12122025_22_57_35_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/22/57/image_12122025_22_57_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:00:03.164132 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/22/58/image_12122025_22_58_55_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/22/58/image_12122025_22_58_35_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/22/58/image_12122025_22_58_25_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/22/57/image_12122025_22_57_44_9631.jpg', 2), ('/home/nano/Desktop/images/12122025/22/57/image_12122025_22_57_35_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/22/57/image_12122025_22_57_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:00:32.775805 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/00/image_12122025_23_00_34_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/23/00/image_12122025_23_00_15_10649.jpg', 2), ('/home/nano/Desktop/images/12122025/22/59/image_12122025_23_00_04_9633.jpg', 2), ('/home/nano/Desktop/images/12122025/22/58/image_12122025_22_59_05_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/22/58/image_12122025_22_58_55_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/22/58/image_12122025_22_58_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:01:02.595956 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/00/image_12122025_23_00_34_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/23/00/image_12122025_23_00_15_10649.jpg', 2), ('/home/nano/Desktop/images/12122025/22/59/image_12122025_23_00_04_9633.jpg', 2), ('/home/nano/Desktop/images/12122025/22/58/image_12122025_22_59_05_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/22/58/image_12122025_22_58_55_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/22/58/image_12122025_22_58_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:01:31.849928 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/01/image_12122025_23_01_35_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/23/01/image_12122025_23_01_24_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/23/00/image_12122025_23_01_04_9636.jpg', 2), ('/home/nano/Desktop/images/12122025/23/00/image_12122025_23_00_45_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/23/00/image_12122025_23_00_34_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/23/00/image_12122025_23_00_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:02:02.725338 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/01/image_12122025_23_01_35_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/23/01/image_12122025_23_01_24_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/23/00/image_12122025_23_01_04_9636.jpg', 2), ('/home/nano/Desktop/images/12122025/23/00/image_12122025_23_00_45_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/23/00/image_12122025_23_00_34_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/23/00/image_12122025_23_00_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:02:32.067592 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/02/image_12122025_23_02_45_9641.jpg', 2), ('/home/nano/Desktop/images/12122025/23/02/image_12122025_23_02_35_10637.jpg', 2), ('/home/nano/Desktop/images/12122025/23/01/image_12122025_23_01_45_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/23/01/image_12122025_23_01_35_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/23/01/image_12122025_23_01_24_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/23/00/image_12122025_23_01_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:03:02.869096 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/02/image_12122025_23_02_45_9641.jpg', 2), ('/home/nano/Desktop/images/12122025/23/02/image_12122025_23_02_35_10637.jpg', 2), ('/home/nano/Desktop/images/12122025/23/01/image_12122025_23_01_45_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/23/01/image_12122025_23_01_35_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/23/01/image_12122025_23_01_24_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/23/00/image_12122025_23_01_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:03:32.136794 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/03/image_12122025_23_03_25_10649.jpg', 2), ('/home/nano/Desktop/images/12122025/23/03/image_12122025_23_03_14_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/23/02/image_12122025_23_03_05_10650.jpg', 2), ('/home/nano/Desktop/images/12122025/23/02/image_12122025_23_02_54_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/23/02/image_12122025_23_02_45_9641.jpg', 2), ('/home/nano/Desktop/images/12122025/23/02/image_12122025_23_02_35_10637.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:04:03.082109 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/03/image_12122025_23_03_25_10649.jpg', 2), ('/home/nano/Desktop/images/12122025/23/03/image_12122025_23_03_14_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/23/02/image_12122025_23_03_05_10650.jpg', 2), ('/home/nano/Desktop/images/12122025/23/02/image_12122025_23_02_54_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/23/02/image_12122025_23_02_45_9641.jpg', 2), ('/home/nano/Desktop/images/12122025/23/02/image_12122025_23_02_35_10637.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:04:32.226841 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/04/image_12122025_23_04_25_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/23/04/image_12122025_23_04_14_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/23/03/image_12122025_23_04_05_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/23/03/image_12122025_23_03_35_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/23/03/image_12122025_23_03_25_10649.jpg', 2), ('/home/nano/Desktop/images/12122025/23/03/image_12122025_23_03_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:05:02.816416 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/04/image_12122025_23_04_25_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/23/04/image_12122025_23_04_14_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/23/03/image_12122025_23_04_05_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/23/03/image_12122025_23_03_35_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/23/03/image_12122025_23_03_25_10649.jpg', 2), ('/home/nano/Desktop/images/12122025/23/03/image_12122025_23_03_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:05:32.336677 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/05/image_12122025_23_05_34_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/23/04/image_12122025_23_04_35_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/23/04/image_12122025_23_04_25_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/23/04/image_12122025_23_04_14_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/23/03/image_12122025_23_04_05_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/23/03/image_12122025_23_03_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:06:02.914808 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/05/image_12122025_23_05_34_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/23/04/image_12122025_23_04_35_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/23/04/image_12122025_23_04_25_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/23/04/image_12122025_23_04_14_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/23/03/image_12122025_23_04_05_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/23/03/image_12122025_23_03_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:06:32.447801 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/06/image_12122025_23_06_34_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/23/06/image_12122025_23_06_25_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/23/05/image_12122025_23_05_45_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/23/05/image_12122025_23_05_34_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/23/04/image_12122025_23_04_35_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/23/04/image_12122025_23_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:07:03.212986 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/06/image_12122025_23_06_34_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/23/06/image_12122025_23_06_25_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/23/05/image_12122025_23_05_45_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/23/05/image_12122025_23_05_34_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/23/04/image_12122025_23_04_35_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/23/04/image_12122025_23_04_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:07:32.551943 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/07/image_12122025_23_07_45_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/23/07/image_12122025_23_07_35_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/23/07/image_12122025_23_07_24_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/23/07/image_12122025_23_07_15_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/23/06/image_12122025_23_07_05_10644.jpg', 2), ('/home/nano/Desktop/images/12122025/23/06/image_12122025_23_06_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:08:03.141458 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/07/image_12122025_23_07_45_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/23/07/image_12122025_23_07_35_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/23/07/image_12122025_23_07_24_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/23/07/image_12122025_23_07_15_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/23/06/image_12122025_23_07_05_10644.jpg', 2), ('/home/nano/Desktop/images/12122025/23/06/image_12122025_23_06_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:08:32.729164 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/08/image_12122025_23_08_35_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/23/08/image_12122025_23_08_15_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/23/07/image_12122025_23_08_05_10657.jpg', 2), ('/home/nano/Desktop/images/12122025/23/07/image_12122025_23_07_54_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/23/07/image_12122025_23_07_45_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/23/07/image_12122025_23_07_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:09:02.573251 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/08/image_12122025_23_08_35_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/23/08/image_12122025_23_08_15_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/23/07/image_12122025_23_08_05_10657.jpg', 2), ('/home/nano/Desktop/images/12122025/23/07/image_12122025_23_07_54_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/23/07/image_12122025_23_07_45_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/23/07/image_12122025_23_07_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:09:31.804150 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/09/image_12122025_23_09_35_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/23/08/image_12122025_23_09_05_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/23/08/image_12122025_23_08_55_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/23/08/image_12122025_23_08_35_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/23/08/image_12122025_23_08_15_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/23/07/image_12122025_23_08_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:10:02.334738 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/09/image_12122025_23_09_35_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/23/08/image_12122025_23_09_05_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/23/08/image_12122025_23_08_55_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/23/08/image_12122025_23_08_35_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/23/08/image_12122025_23_08_15_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/23/07/image_12122025_23_08_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:10:31.869746 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/10/image_12122025_23_10_34_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/23/10/image_12122025_23_10_25_9643.jpg', 2), ('/home/nano/Desktop/images/12122025/23/10/image_12122025_23_10_15_10649.jpg', 2), ('/home/nano/Desktop/images/12122025/23/09/image_12122025_23_09_44_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/23/09/image_12122025_23_09_35_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/23/08/image_12122025_23_09_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:11:02.698083 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/10/image_12122025_23_10_34_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/23/10/image_12122025_23_10_25_9643.jpg', 2), ('/home/nano/Desktop/images/12122025/23/10/image_12122025_23_10_15_10649.jpg', 2), ('/home/nano/Desktop/images/12122025/23/09/image_12122025_23_09_44_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/23/09/image_12122025_23_09_35_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/23/08/image_12122025_23_09_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:11:31.969274 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/11/image_12122025_23_11_45_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/23/11/image_12122025_23_11_25_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/23/11/image_12122025_23_11_15_10647.jpg', 2), ('/home/nano/Desktop/images/12122025/23/10/image_12122025_23_11_04_9631.jpg', 2), ('/home/nano/Desktop/images/12122025/23/10/image_12122025_23_10_55_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/23/10/image_12122025_23_10_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:12:02.682689 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/11/image_12122025_23_11_45_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/23/11/image_12122025_23_11_25_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/23/11/image_12122025_23_11_15_10647.jpg', 2), ('/home/nano/Desktop/images/12122025/23/10/image_12122025_23_11_04_9631.jpg', 2), ('/home/nano/Desktop/images/12122025/23/10/image_12122025_23_10_55_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/23/10/image_12122025_23_10_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:12:32.071926 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/12/image_12122025_23_12_45_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/23/12/image_12122025_23_12_35_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/23/12/image_12122025_23_12_24_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/23/11/image_12122025_23_12_05_10660.jpg', 2), ('/home/nano/Desktop/images/12122025/23/11/image_12122025_23_11_54_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/23/11/image_12122025_23_11_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:13:02.893812 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/12/image_12122025_23_12_45_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/23/12/image_12122025_23_12_35_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/23/12/image_12122025_23_12_24_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/23/11/image_12122025_23_12_05_10660.jpg', 2), ('/home/nano/Desktop/images/12122025/23/11/image_12122025_23_11_54_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/23/11/image_12122025_23_11_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:13:32.150170 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/12/image_12122025_23_13_05_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/23/12/image_12122025_23_12_54_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/23/12/image_12122025_23_12_45_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/23/12/image_12122025_23_12_35_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/23/12/image_12122025_23_12_24_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/23/11/image_12122025_23_12_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:14:03.081494 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/12/image_12122025_23_13_05_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/23/12/image_12122025_23_12_54_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/23/12/image_12122025_23_12_45_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/23/12/image_12122025_23_12_35_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/23/12/image_12122025_23_12_24_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/23/11/image_12122025_23_12_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:14:32.333648 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/14/image_12122025_23_14_44_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/23/14/image_12122025_23_14_35_9641.jpg', 2), ('/home/nano/Desktop/images/12122025/23/14/image_12122025_23_14_25_10649.jpg', 2), ('/home/nano/Desktop/images/12122025/23/14/image_12122025_23_14_14_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/23/13/image_12122025_23_14_05_9644.jpg', 2), ('/home/nano/Desktop/images/12122025/23/13/image_12122025_23_13_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:15:03.041154 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/14/image_12122025_23_14_44_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/23/14/image_12122025_23_14_35_9641.jpg', 2), ('/home/nano/Desktop/images/12122025/23/14/image_12122025_23_14_25_10649.jpg', 2), ('/home/nano/Desktop/images/12122025/23/14/image_12122025_23_14_14_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/23/13/image_12122025_23_14_05_9644.jpg', 2), ('/home/nano/Desktop/images/12122025/23/13/image_12122025_23_13_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:15:32.353569 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/15/image_12122025_23_15_25_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/23/15/image_12122025_23_15_14_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/23/14/image_12122025_23_15_04_9648.jpg', 2), ('/home/nano/Desktop/images/12122025/23/14/image_12122025_23_14_55_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/23/14/image_12122025_23_14_44_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/23/14/image_12122025_23_14_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:16:03.108977 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/15/image_12122025_23_15_25_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/23/15/image_12122025_23_15_14_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/23/14/image_12122025_23_15_04_9648.jpg', 2), ('/home/nano/Desktop/images/12122025/23/14/image_12122025_23_14_55_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/23/14/image_12122025_23_14_44_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/23/14/image_12122025_23_14_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:16:32.472609 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/16/image_12122025_23_16_34_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/23/15/image_12122025_23_16_04_9634.jpg', 2), ('/home/nano/Desktop/images/12122025/23/15/image_12122025_23_15_55_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/23/15/image_12122025_23_15_25_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/23/15/image_12122025_23_15_14_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/23/14/image_12122025_23_15_04_9648.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:17:03.362560 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/16/image_12122025_23_16_34_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/23/15/image_12122025_23_16_04_9634.jpg', 2), ('/home/nano/Desktop/images/12122025/23/15/image_12122025_23_15_55_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/23/15/image_12122025_23_15_25_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/23/15/image_12122025_23_15_14_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/23/14/image_12122025_23_15_04_9648.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:17:32.592921 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/17/image_12122025_23_17_35_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/23/17/image_12122025_23_17_24_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/23/17/image_12122025_23_17_15_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/23/16/image_12122025_23_17_05_10638.jpg', 2), ('/home/nano/Desktop/images/12122025/23/16/image_12122025_23_16_45_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/23/16/image_12122025_23_16_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:18:03.274665 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/17/image_12122025_23_17_35_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/23/17/image_12122025_23_17_24_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/23/17/image_12122025_23_17_15_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/23/16/image_12122025_23_17_05_10638.jpg', 2), ('/home/nano/Desktop/images/12122025/23/16/image_12122025_23_16_45_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/23/16/image_12122025_23_16_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:18:32.707487 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/17/image_12122025_23_18_05_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/23/17/image_12122025_23_17_45_9641.jpg', 2), ('/home/nano/Desktop/images/12122025/23/17/image_12122025_23_17_35_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/23/17/image_12122025_23_17_24_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/23/17/image_12122025_23_17_15_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/23/16/image_12122025_23_17_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:19:02.946822 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/17/image_12122025_23_18_05_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/23/17/image_12122025_23_17_45_9641.jpg', 2), ('/home/nano/Desktop/images/12122025/23/17/image_12122025_23_17_35_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/23/17/image_12122025_23_17_24_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/23/17/image_12122025_23_17_15_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/23/16/image_12122025_23_17_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:19:31.789202 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/19/image_12122025_23_19_44_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/23/18/image_12122025_23_19_05_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/23/18/image_12122025_23_18_55_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/23/17/image_12122025_23_18_05_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/23/17/image_12122025_23_17_45_9641.jpg', 2), ('/home/nano/Desktop/images/12122025/23/17/image_12122025_23_17_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:20:02.288441 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/19/image_12122025_23_19_44_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/23/18/image_12122025_23_19_05_9635.jpg', 2), ('/home/nano/Desktop/images/12122025/23/18/image_12122025_23_18_55_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/23/17/image_12122025_23_18_05_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/23/17/image_12122025_23_17_45_9641.jpg', 2), ('/home/nano/Desktop/images/12122025/23/17/image_12122025_23_17_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:20:31.900876 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/20/image_12122025_23_20_45_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/23/20/image_12122025_23_20_34_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/23/20/image_12122025_23_20_25_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/23/20/image_12122025_23_20_15_10649.jpg', 2), ('/home/nano/Desktop/images/12122025/23/19/image_12122025_23_20_04_9649.jpg', 2), ('/home/nano/Desktop/images/12122025/23/19/image_12122025_23_19_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:21:02.905851 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/20/image_12122025_23_20_45_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/23/20/image_12122025_23_20_34_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/23/20/image_12122025_23_20_25_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/23/20/image_12122025_23_20_15_10649.jpg', 2), ('/home/nano/Desktop/images/12122025/23/19/image_12122025_23_20_04_9649.jpg', 2), ('/home/nano/Desktop/images/12122025/23/19/image_12122025_23_19_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:21:31.994225 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/21/image_12122025_23_21_45_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/23/21/image_12122025_23_21_34_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/23/21/image_12122025_23_21_24_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/23/20/image_12122025_23_20_55_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/23/20/image_12122025_23_20_45_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/23/20/image_12122025_23_20_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:22:02.738033 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/21/image_12122025_23_21_45_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/23/21/image_12122025_23_21_34_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/23/21/image_12122025_23_21_24_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/23/20/image_12122025_23_20_55_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/23/20/image_12122025_23_20_45_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/23/20/image_12122025_23_20_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:22:32.085286 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/22/image_12122025_23_22_45_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/23/22/image_12122025_23_22_35_10648.jpg', 2), ('/home/nano/Desktop/images/12122025/23/22/image_12122025_23_22_24_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/23/22/image_12122025_23_22_15_9634.jpg', 2), ('/home/nano/Desktop/images/12122025/23/21/image_12122025_23_21_54_9644.jpg', 2), ('/home/nano/Desktop/images/12122025/23/21/image_12122025_23_21_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:23:02.980882 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/22/image_12122025_23_22_45_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/23/22/image_12122025_23_22_35_10648.jpg', 2), ('/home/nano/Desktop/images/12122025/23/22/image_12122025_23_22_24_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/23/22/image_12122025_23_22_15_9634.jpg', 2), ('/home/nano/Desktop/images/12122025/23/21/image_12122025_23_21_54_9644.jpg', 2), ('/home/nano/Desktop/images/12122025/23/21/image_12122025_23_21_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:23:32.179598 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/23/image_12122025_23_23_44_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/23/23/image_12122025_23_23_14_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/23/22/image_12122025_23_23_05_10643.jpg', 2), ('/home/nano/Desktop/images/12122025/23/22/image_12122025_23_22_54_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/23/22/image_12122025_23_22_45_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/23/22/image_12122025_23_22_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:24:03.049194 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/23/image_12122025_23_23_44_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/23/23/image_12122025_23_23_14_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/23/22/image_12122025_23_23_05_10643.jpg', 2), ('/home/nano/Desktop/images/12122025/23/22/image_12122025_23_22_54_9618.jpg', 2), ('/home/nano/Desktop/images/12122025/23/22/image_12122025_23_22_45_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/23/22/image_12122025_23_22_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:24:32.308770 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/24/image_12122025_23_24_44_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/23/24/image_12122025_23_24_35_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/23/24/image_12122025_23_24_25_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/23/23/image_12122025_23_23_55_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/23/23/image_12122025_23_23_44_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/23/23/image_12122025_23_23_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:25:02.981547 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/24/image_12122025_23_24_44_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/23/24/image_12122025_23_24_35_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/23/24/image_12122025_23_24_25_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/23/23/image_12122025_23_23_55_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/23/23/image_12122025_23_23_44_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/23/23/image_12122025_23_23_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:25:32.476585 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/25/image_12122025_23_25_45_10628.jpg', 2), ('/home/nano/Desktop/images/12122025/23/25/image_12122025_23_25_25_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/23/25/image_12122025_23_25_15_10644.jpg', 2), ('/home/nano/Desktop/images/12122025/23/24/image_12122025_23_25_04_9654.jpg', 2), ('/home/nano/Desktop/images/12122025/23/24/image_12122025_23_24_55_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/23/24/image_12122025_23_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:26:03.110200 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/25/image_12122025_23_25_45_10628.jpg', 2), ('/home/nano/Desktop/images/12122025/23/25/image_12122025_23_25_25_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/23/25/image_12122025_23_25_15_10644.jpg', 2), ('/home/nano/Desktop/images/12122025/23/24/image_12122025_23_25_04_9654.jpg', 2), ('/home/nano/Desktop/images/12122025/23/24/image_12122025_23_24_55_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/23/24/image_12122025_23_24_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:26:32.567677 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/26/image_12122025_23_26_45_10650.jpg', 2), ('/home/nano/Desktop/images/12122025/23/26/image_12122025_23_26_34_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/23/26/image_12122025_23_26_24_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/23/26/image_12122025_23_26_15_10665.jpg', 2), ('/home/nano/Desktop/images/12122025/23/25/image_12122025_23_26_04_9634.jpg', 2), ('/home/nano/Desktop/images/12122025/23/25/image_12122025_23_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:27:03.310360 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/26/image_12122025_23_26_45_10650.jpg', 2), ('/home/nano/Desktop/images/12122025/23/26/image_12122025_23_26_34_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/23/26/image_12122025_23_26_24_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/23/26/image_12122025_23_26_15_10665.jpg', 2), ('/home/nano/Desktop/images/12122025/23/25/image_12122025_23_26_04_9634.jpg', 2), ('/home/nano/Desktop/images/12122025/23/25/image_12122025_23_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:27:32.721157 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/27/image_12122025_23_27_45_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/23/26/image_12122025_23_26_54_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/23/26/image_12122025_23_26_45_10650.jpg', 2), ('/home/nano/Desktop/images/12122025/23/26/image_12122025_23_26_34_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/23/26/image_12122025_23_26_24_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/23/26/image_12122025_23_26_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:28:02.423202 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/27/image_12122025_23_27_45_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/23/26/image_12122025_23_26_54_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/23/26/image_12122025_23_26_45_10650.jpg', 2), ('/home/nano/Desktop/images/12122025/23/26/image_12122025_23_26_34_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/23/26/image_12122025_23_26_24_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/23/26/image_12122025_23_26_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:28:31.808293 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/28/image_12122025_23_28_24_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/23/28/image_12122025_23_28_15_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/23/27/image_12122025_23_27_54_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/23/27/image_12122025_23_27_45_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/23/26/image_12122025_23_26_54_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/23/26/image_12122025_23_26_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:29:02.971645 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/28/image_12122025_23_28_24_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/23/28/image_12122025_23_28_15_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/23/27/image_12122025_23_27_54_9639.jpg', 2), ('/home/nano/Desktop/images/12122025/23/27/image_12122025_23_27_45_9627.jpg', 2), ('/home/nano/Desktop/images/12122025/23/26/image_12122025_23_26_54_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/23/26/image_12122025_23_26_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:29:32.045673 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/29/image_12122025_23_29_25_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/23/29/image_12122025_23_29_14_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/23/28/image_12122025_23_29_05_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/23/28/image_12122025_23_28_55_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/23/28/image_12122025_23_28_24_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/23/28/image_12122025_23_28_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:30:02.612927 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/29/image_12122025_23_29_25_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/23/29/image_12122025_23_29_14_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/23/28/image_12122025_23_29_05_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/23/28/image_12122025_23_28_55_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/23/28/image_12122025_23_28_24_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/23/28/image_12122025_23_28_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:30:32.008375 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/30/image_12122025_23_30_45_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/23/30/image_12122025_23_30_15_10650.jpg', 2), ('/home/nano/Desktop/images/12122025/23/29/image_12122025_23_30_04_9631.jpg', 2), ('/home/nano/Desktop/images/12122025/23/29/image_12122025_23_29_35_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/23/29/image_12122025_23_29_25_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/23/29/image_12122025_23_29_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:31:02.919738 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/30/image_12122025_23_30_45_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/23/30/image_12122025_23_30_15_10650.jpg', 2), ('/home/nano/Desktop/images/12122025/23/29/image_12122025_23_30_04_9631.jpg', 2), ('/home/nano/Desktop/images/12122025/23/29/image_12122025_23_29_35_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/23/29/image_12122025_23_29_25_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/23/29/image_12122025_23_29_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:31:32.093516 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/31/image_12122025_23_31_45_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/23/31/image_12122025_23_31_15_10668.jpg', 2), ('/home/nano/Desktop/images/12122025/23/30/image_12122025_23_31_04_9636.jpg', 2), ('/home/nano/Desktop/images/12122025/23/30/image_12122025_23_30_55_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/23/30/image_12122025_23_30_45_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/23/30/image_12122025_23_30_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:32:02.698100 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/31/image_12122025_23_31_45_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/23/31/image_12122025_23_31_15_10668.jpg', 2), ('/home/nano/Desktop/images/12122025/23/30/image_12122025_23_31_04_9636.jpg', 2), ('/home/nano/Desktop/images/12122025/23/30/image_12122025_23_30_55_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/23/30/image_12122025_23_30_45_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/23/30/image_12122025_23_30_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:32:32.266212 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/32/image_12122025_23_32_45_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/23/32/image_12122025_23_32_35_10628.jpg', 2), ('/home/nano/Desktop/images/12122025/23/32/image_12122025_23_32_24_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/23/32/image_12122025_23_32_15_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/23/31/image_12122025_23_31_54_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/23/31/image_12122025_23_31_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:33:02.871421 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/32/image_12122025_23_32_45_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/23/32/image_12122025_23_32_35_10628.jpg', 2), ('/home/nano/Desktop/images/12122025/23/32/image_12122025_23_32_24_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/23/32/image_12122025_23_32_15_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/23/31/image_12122025_23_31_54_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/23/31/image_12122025_23_31_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:33:32.261699 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/32/image_12122025_23_33_05_10637.jpg', 2), ('/home/nano/Desktop/images/12122025/23/32/image_12122025_23_32_54_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/23/32/image_12122025_23_32_45_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/23/32/image_12122025_23_32_35_10628.jpg', 2), ('/home/nano/Desktop/images/12122025/23/32/image_12122025_23_32_24_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/23/32/image_12122025_23_32_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:34:03.223449 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/32/image_12122025_23_33_05_10637.jpg', 2), ('/home/nano/Desktop/images/12122025/23/32/image_12122025_23_32_54_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/23/32/image_12122025_23_32_45_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/23/32/image_12122025_23_32_35_10628.jpg', 2), ('/home/nano/Desktop/images/12122025/23/32/image_12122025_23_32_24_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/23/32/image_12122025_23_32_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:34:32.363580 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/34/image_12122025_23_34_44_9643.jpg', 2), ('/home/nano/Desktop/images/12122025/23/33/image_12122025_23_34_05_9658.jpg', 2), ('/home/nano/Desktop/images/12122025/23/33/image_12122025_23_33_55_10648.jpg', 2), ('/home/nano/Desktop/images/12122025/23/32/image_12122025_23_33_05_10637.jpg', 2), ('/home/nano/Desktop/images/12122025/23/32/image_12122025_23_32_54_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/23/32/image_12122025_23_32_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:35:03.065520 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/34/image_12122025_23_34_44_9643.jpg', 2), ('/home/nano/Desktop/images/12122025/23/33/image_12122025_23_34_05_9658.jpg', 2), ('/home/nano/Desktop/images/12122025/23/33/image_12122025_23_33_55_10648.jpg', 2), ('/home/nano/Desktop/images/12122025/23/32/image_12122025_23_33_05_10637.jpg', 2), ('/home/nano/Desktop/images/12122025/23/32/image_12122025_23_32_54_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/23/32/image_12122025_23_32_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:35:32.473821 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/35/image_12122025_23_35_34_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/23/35/image_12122025_23_35_25_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/23/35/image_12122025_23_35_14_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/23/34/image_12122025_23_35_05_9647.jpg', 2), ('/home/nano/Desktop/images/12122025/23/34/image_12122025_23_34_55_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/23/34/image_12122025_23_34_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:36:03.174563 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/35/image_12122025_23_35_34_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/23/35/image_12122025_23_35_25_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/23/35/image_12122025_23_35_14_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/23/34/image_12122025_23_35_05_9647.jpg', 2), ('/home/nano/Desktop/images/12122025/23/34/image_12122025_23_34_55_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/23/34/image_12122025_23_34_44_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:36:32.575735 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/36/image_12122025_23_36_45_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/23/35/image_12122025_23_35_45_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/23/35/image_12122025_23_35_34_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/23/35/image_12122025_23_35_25_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/23/35/image_12122025_23_35_14_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/23/34/image_12122025_23_35_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:37:03.342554 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/36/image_12122025_23_36_45_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/23/35/image_12122025_23_35_45_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/23/35/image_12122025_23_35_34_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/23/35/image_12122025_23_35_25_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/23/35/image_12122025_23_35_14_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/23/34/image_12122025_23_35_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:37:32.655653 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/36/image_12122025_23_37_04_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/23/36/image_12122025_23_36_54_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/23/36/image_12122025_23_36_45_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/23/35/image_12122025_23_35_45_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/23/35/image_12122025_23_35_34_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/23/35/image_12122025_23_35_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:38:02.384755 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/36/image_12122025_23_37_04_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/23/36/image_12122025_23_36_54_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/23/36/image_12122025_23_36_45_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/23/35/image_12122025_23_35_45_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/23/35/image_12122025_23_35_34_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/23/35/image_12122025_23_35_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:38:31.814115 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/38/image_12122025_23_38_35_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/23/37/image_12122025_23_37_15_10648.jpg', 2), ('/home/nano/Desktop/images/12122025/23/36/image_12122025_23_37_04_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/23/36/image_12122025_23_36_54_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/23/36/image_12122025_23_36_45_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/23/35/image_12122025_23_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:39:02.893132 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/38/image_12122025_23_38_35_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/23/37/image_12122025_23_37_15_10648.jpg', 2), ('/home/nano/Desktop/images/12122025/23/36/image_12122025_23_37_04_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/23/36/image_12122025_23_36_54_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/23/36/image_12122025_23_36_45_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/23/35/image_12122025_23_35_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:39:31.913613 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/39/image_12122025_23_39_44_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/23/38/image_12122025_23_38_44_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/23/38/image_12122025_23_38_35_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/23/37/image_12122025_23_37_15_10648.jpg', 2), ('/home/nano/Desktop/images/12122025/23/36/image_12122025_23_37_04_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/23/36/image_12122025_23_36_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:40:02.578667 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/39/image_12122025_23_39_44_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/23/38/image_12122025_23_38_44_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/23/38/image_12122025_23_38_35_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/23/37/image_12122025_23_37_15_10648.jpg', 2), ('/home/nano/Desktop/images/12122025/23/36/image_12122025_23_37_04_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/23/36/image_12122025_23_36_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:40:32.022285 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/40/image_12122025_23_40_14_9641.jpg', 2), ('/home/nano/Desktop/images/12122025/23/39/image_12122025_23_39_55_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/23/39/image_12122025_23_39_44_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/23/38/image_12122025_23_38_44_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/23/38/image_12122025_23_38_35_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/23/37/image_12122025_23_37_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:41:02.784957 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/40/image_12122025_23_40_14_9641.jpg', 2), ('/home/nano/Desktop/images/12122025/23/39/image_12122025_23_39_55_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/23/39/image_12122025_23_39_44_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/23/38/image_12122025_23_38_44_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/23/38/image_12122025_23_38_35_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/23/37/image_12122025_23_37_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:41:32.155825 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/41/image_12122025_23_41_15_10654.jpg', 2), ('/home/nano/Desktop/images/12122025/23/40/image_12122025_23_41_04_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/23/40/image_12122025_23_40_25_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/23/40/image_12122025_23_40_14_9641.jpg', 2), ('/home/nano/Desktop/images/12122025/23/39/image_12122025_23_39_55_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/23/39/image_12122025_23_39_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:42:02.838219 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/41/image_12122025_23_41_15_10654.jpg', 2), ('/home/nano/Desktop/images/12122025/23/40/image_12122025_23_41_04_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/23/40/image_12122025_23_40_25_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/23/40/image_12122025_23_40_14_9641.jpg', 2), ('/home/nano/Desktop/images/12122025/23/39/image_12122025_23_39_55_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/23/39/image_12122025_23_39_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:42:32.229148 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/42/image_12122025_23_42_45_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/23/41/image_12122025_23_41_25_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/23/41/image_12122025_23_41_15_10654.jpg', 2), ('/home/nano/Desktop/images/12122025/23/40/image_12122025_23_41_04_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/23/40/image_12122025_23_40_25_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/23/40/image_12122025_23_40_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:43:02.952732 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/42/image_12122025_23_42_45_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/23/41/image_12122025_23_41_25_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/23/41/image_12122025_23_41_15_10654.jpg', 2), ('/home/nano/Desktop/images/12122025/23/40/image_12122025_23_41_04_9640.jpg', 2), ('/home/nano/Desktop/images/12122025/23/40/image_12122025_23_40_25_10636.jpg', 2), ('/home/nano/Desktop/images/12122025/23/40/image_12122025_23_40_14_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:43:32.355171 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/43/image_12122025_23_43_44_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/23/43/image_12122025_23_43_35_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/23/43/image_12122025_23_43_15_9633.jpg', 2), ('/home/nano/Desktop/images/12122025/23/42/image_12122025_23_43_05_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/23/42/image_12122025_23_42_54_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/23/42/image_12122025_23_42_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:44:03.333118 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/43/image_12122025_23_43_44_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/23/43/image_12122025_23_43_35_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/23/43/image_12122025_23_43_15_9633.jpg', 2), ('/home/nano/Desktop/images/12122025/23/42/image_12122025_23_43_05_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/23/42/image_12122025_23_42_54_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/23/42/image_12122025_23_42_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:44:32.495502 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/44/image_12122025_23_44_44_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/23/43/image_12122025_23_43_55_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/23/43/image_12122025_23_43_44_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/23/43/image_12122025_23_43_35_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/23/43/image_12122025_23_43_15_9633.jpg', 2), ('/home/nano/Desktop/images/12122025/23/42/image_12122025_23_43_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:45:03.260287 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/44/image_12122025_23_44_44_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/23/43/image_12122025_23_43_55_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/23/43/image_12122025_23_43_44_9642.jpg', 2), ('/home/nano/Desktop/images/12122025/23/43/image_12122025_23_43_35_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/23/43/image_12122025_23_43_15_9633.jpg', 2), ('/home/nano/Desktop/images/12122025/23/42/image_12122025_23_43_05_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:45:32.544320 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/45/image_12122025_23_45_34_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/23/44/image_12122025_23_45_04_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/23/44/image_12122025_23_44_55_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/23/44/image_12122025_23_44_44_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/23/43/image_12122025_23_43_55_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/23/43/image_12122025_23_43_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:46:03.033388 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/45/image_12122025_23_45_34_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/23/44/image_12122025_23_45_04_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/23/44/image_12122025_23_44_55_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/23/44/image_12122025_23_44_44_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/23/43/image_12122025_23_43_55_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/23/43/image_12122025_23_43_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:46:32.612143 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/46/image_12122025_23_46_45_10647.jpg', 2), ('/home/nano/Desktop/images/12122025/23/46/image_12122025_23_46_34_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/23/46/image_12122025_23_46_25_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/23/46/image_12122025_23_46_15_10648.jpg', 2), ('/home/nano/Desktop/images/12122025/23/45/image_12122025_23_45_45_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/23/45/image_12122025_23_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:47:03.256188 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/46/image_12122025_23_46_45_10647.jpg', 2), ('/home/nano/Desktop/images/12122025/23/46/image_12122025_23_46_34_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/23/46/image_12122025_23_46_25_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/23/46/image_12122025_23_46_15_10648.jpg', 2), ('/home/nano/Desktop/images/12122025/23/45/image_12122025_23_45_45_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/23/45/image_12122025_23_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:47:32.743060 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/47/image_12122025_23_47_45_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/23/47/image_12122025_23_47_35_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/23/47/image_12122025_23_47_24_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/23/47/image_12122025_23_47_15_9658.jpg', 2), ('/home/nano/Desktop/images/12122025/23/46/image_12122025_23_46_54_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/23/46/image_12122025_23_46_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:48:02.472225 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/47/image_12122025_23_47_45_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/23/47/image_12122025_23_47_35_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/23/47/image_12122025_23_47_24_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/23/47/image_12122025_23_47_15_9658.jpg', 2), ('/home/nano/Desktop/images/12122025/23/46/image_12122025_23_46_54_9626.jpg', 2), ('/home/nano/Desktop/images/12122025/23/46/image_12122025_23_46_45_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:48:31.887993 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/48/image_12122025_23_48_44_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/23/47/image_12122025_23_47_54_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/23/47/image_12122025_23_47_45_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/23/47/image_12122025_23_47_35_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/23/47/image_12122025_23_47_24_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/23/47/image_12122025_23_47_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:49:02.932181 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/48/image_12122025_23_48_44_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/23/47/image_12122025_23_47_54_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/23/47/image_12122025_23_47_45_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/23/47/image_12122025_23_47_35_10633.jpg', 2), ('/home/nano/Desktop/images/12122025/23/47/image_12122025_23_47_24_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/23/47/image_12122025_23_47_15_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:49:32.007783 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/49/image_12122025_23_49_25_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/23/49/image_12122025_23_49_14_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/23/48/image_12122025_23_49_05_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/23/48/image_12122025_23_48_55_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/23/48/image_12122025_23_48_44_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/23/47/image_12122025_23_47_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:50:02.484975 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/49/image_12122025_23_49_25_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/23/49/image_12122025_23_49_14_9628.jpg', 2), ('/home/nano/Desktop/images/12122025/23/48/image_12122025_23_49_05_9625.jpg', 2), ('/home/nano/Desktop/images/12122025/23/48/image_12122025_23_48_55_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/23/48/image_12122025_23_48_44_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/23/47/image_12122025_23_47_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:50:32.100343 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/50/image_12122025_23_50_45_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/23/50/image_12122025_23_50_34_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/23/50/image_12122025_23_50_14_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/23/49/image_12122025_23_50_04_9645.jpg', 2), ('/home/nano/Desktop/images/12122025/23/49/image_12122025_23_49_55_10647.jpg', 2), ('/home/nano/Desktop/images/12122025/23/49/image_12122025_23_49_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:51:02.798475 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/50/image_12122025_23_50_45_10630.jpg', 2), ('/home/nano/Desktop/images/12122025/23/50/image_12122025_23_50_34_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/23/50/image_12122025_23_50_14_9637.jpg', 2), ('/home/nano/Desktop/images/12122025/23/49/image_12122025_23_50_04_9645.jpg', 2), ('/home/nano/Desktop/images/12122025/23/49/image_12122025_23_49_55_10647.jpg', 2), ('/home/nano/Desktop/images/12122025/23/49/image_12122025_23_49_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:51:32.201656 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/51/image_12122025_23_51_45_10648.jpg', 2), ('/home/nano/Desktop/images/12122025/23/51/image_12122025_23_51_34_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/23/51/image_12122025_23_51_25_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/23/51/image_12122025_23_51_15_10649.jpg', 2), ('/home/nano/Desktop/images/12122025/23/50/image_12122025_23_50_55_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/23/50/image_12122025_23_50_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:52:02.818303 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/51/image_12122025_23_51_45_10648.jpg', 2), ('/home/nano/Desktop/images/12122025/23/51/image_12122025_23_51_34_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/23/51/image_12122025_23_51_25_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/23/51/image_12122025_23_51_15_10649.jpg', 2), ('/home/nano/Desktop/images/12122025/23/50/image_12122025_23_50_55_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/23/50/image_12122025_23_50_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:52:32.351250 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/52/image_12122025_23_52_45_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/23/52/image_12122025_23_52_15_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/23/51/image_12122025_23_52_05_10643.jpg', 2), ('/home/nano/Desktop/images/12122025/23/51/image_12122025_23_51_54_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/23/51/image_12122025_23_51_45_10648.jpg', 2), ('/home/nano/Desktop/images/12122025/23/51/image_12122025_23_51_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:53:03.136017 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/52/image_12122025_23_52_45_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/23/52/image_12122025_23_52_15_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/23/51/image_12122025_23_52_05_10643.jpg', 2), ('/home/nano/Desktop/images/12122025/23/51/image_12122025_23_51_54_9624.jpg', 2), ('/home/nano/Desktop/images/12122025/23/51/image_12122025_23_51_45_10648.jpg', 2), ('/home/nano/Desktop/images/12122025/23/51/image_12122025_23_51_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:53:32.417197 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/52/image_12122025_23_53_05_10639.jpg', 2), ('/home/nano/Desktop/images/12122025/23/52/image_12122025_23_52_54_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/23/52/image_12122025_23_52_45_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/23/52/image_12122025_23_52_15_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/23/51/image_12122025_23_52_05_10643.jpg', 2), ('/home/nano/Desktop/images/12122025/23/51/image_12122025_23_51_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:54:03.393975 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/52/image_12122025_23_53_05_10639.jpg', 2), ('/home/nano/Desktop/images/12122025/23/52/image_12122025_23_52_54_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/23/52/image_12122025_23_52_45_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/23/52/image_12122025_23_52_15_9629.jpg', 2), ('/home/nano/Desktop/images/12122025/23/51/image_12122025_23_52_05_10643.jpg', 2), ('/home/nano/Desktop/images/12122025/23/51/image_12122025_23_51_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:54:32.547419 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/54/image_12122025_23_54_44_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/23/54/image_12122025_23_54_35_9641.jpg', 2), ('/home/nano/Desktop/images/12122025/23/53/image_12122025_23_53_14_9634.jpg', 2), ('/home/nano/Desktop/images/12122025/23/52/image_12122025_23_53_05_10639.jpg', 2), ('/home/nano/Desktop/images/12122025/23/52/image_12122025_23_52_54_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/23/52/image_12122025_23_52_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:55:03.118915 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/54/image_12122025_23_54_44_9620.jpg', 2), ('/home/nano/Desktop/images/12122025/23/54/image_12122025_23_54_35_9641.jpg', 2), ('/home/nano/Desktop/images/12122025/23/53/image_12122025_23_53_14_9634.jpg', 2), ('/home/nano/Desktop/images/12122025/23/52/image_12122025_23_53_05_10639.jpg', 2), ('/home/nano/Desktop/images/12122025/23/52/image_12122025_23_52_54_9619.jpg', 2), ('/home/nano/Desktop/images/12122025/23/52/image_12122025_23_52_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:55:32.608819 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/55/image_12122025_23_55_45_10647.jpg', 2), ('/home/nano/Desktop/images/12122025/23/55/image_12122025_23_55_34_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/23/55/image_12122025_23_55_25_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/23/54/image_12122025_23_55_04_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/23/54/image_12122025_23_54_55_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/23/54/image_12122025_23_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:56:03.358208 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/55/image_12122025_23_55_45_10647.jpg', 2), ('/home/nano/Desktop/images/12122025/23/55/image_12122025_23_55_34_9621.jpg', 2), ('/home/nano/Desktop/images/12122025/23/55/image_12122025_23_55_25_10634.jpg', 2), ('/home/nano/Desktop/images/12122025/23/54/image_12122025_23_55_04_9630.jpg', 2), ('/home/nano/Desktop/images/12122025/23/54/image_12122025_23_54_55_10629.jpg', 2), ('/home/nano/Desktop/images/12122025/23/54/image_12122025_23_54_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:56:32.795984 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/56/image_12122025_23_56_45_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/23/56/image_12122025_23_56_34_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/23/56/image_12122025_23_56_25_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/23/56/image_12122025_23_56_15_10648.jpg', 2), ('/home/nano/Desktop/images/12122025/23/55/image_12122025_23_56_04_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/23/55/image_12122025_23_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:57:02.639372 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/56/image_12122025_23_56_45_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/23/56/image_12122025_23_56_34_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/23/56/image_12122025_23_56_25_9623.jpg', 2), ('/home/nano/Desktop/images/12122025/23/56/image_12122025_23_56_15_10648.jpg', 2), ('/home/nano/Desktop/images/12122025/23/55/image_12122025_23_56_04_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/23/55/image_12122025_23_55_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:57:31.850678 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/57/image_12122025_23_57_45_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/23/57/image_12122025_23_57_35_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/23/56/image_12122025_23_56_54_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/23/56/image_12122025_23_56_45_10635.jpg', 2), ('/home/nano/Desktop/images/12122025/23/56/image_12122025_23_56_34_9638.jpg', 2), ('/home/nano/Desktop/images/12122025/23/56/image_12122025_23_56_25_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-12-12 23:58:32.031920 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : Sevran_3025_12122025 fc.token : e243aac39fb012c084cfefeb2a6a3641 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20251212 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/12122025/23/58/image_12122025_23_58_35_10631.jpg', 2), ('/home/nano/Desktop/images/12122025/23/57/image_12122025_23_58_05_10650.jpg', 2), ('/home/nano/Desktop/images/12122025/23/57/image_12122025_23_57_54_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/23/57/image_12122025_23_57_45_9622.jpg', 2), ('/home/nano/Desktop/images/12122025/23/57/image_12122025_23_57_35_10632.jpg', 2), ('/home/nano/Desktop/images/12122025/23/56/image_12122025_23_56_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_12122025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',))